Alias SecretCallback
Function that receives a credential while it is being used.
alias SecretCallback = @safe void delegate(scope const(ubyte)[]);
Keep work that needs the secret inside this callback instead of copying the bytes into long-lived application state.