pub fn credentials(ncc: NativeCallContext<'_>) -> EngineResult<Credentials>
Expand description

Get authentication credentials from the client.

Effective smtp stage

authenticate only.

Return

  • Credentials - the credentials of the client.

Example

#{
    authenticate: [
       action "log auth" || log("info", `${auth::credentials()}`),
    ]
}

rhai-autodocs:index:3