Skip to content

Enumeration

SASLAuthenticationStepResult

Signifies an action to be taken as the result of a single step of a SASL mechanism.
enum SASLAuthenticationStepResult

Topics

Enumeration Cases

  • SASLAuthenticationStepResult.continue(response:)
    More steps are needed. Assume neither success nor failure. If data is provided, send it. A value of nil signifies sending no response at all, whereas a value of [] signifies sending an empty response, which may not be the same action depending on the underlying protocol
  • SASLAuthenticationStepResult.fail(response:error:)
    Signal authentication failure. If data is provided, send it. A value of nil signifies sending no response at all, whereas a value of [] signifies sending an empty response, which may not be the same action depending on the underlying protocol. The provided error, if any, is surfaced. If none is provided, a generic failure is surfaced instead.
  • SASLAuthenticationStepResult.succeed(response:)
    Signal authentication success. If data is provided, send it. A value of nil signifies sending no response at all, whereas a value of [] signifies sending an empty response, which may not be the same action depending on the underlying protocol.

See Also

Deprecated APIs