enum Crabbit::SaslMechanism

Overview

Built-in SASL authentication mechanisms supported during connection setup.

Defined in:

crabbit/configuration.cr

Enum Members

Plain = 0

Username/password PLAIN authentication.

External = 1

EXTERNAL authentication, typically backed by a TLS client certificate.

Instance Method Summary

Instance Method Detail

def external? #

Returns true if this enum value equals External


[View source]
def plain? #

Returns true if this enum value equals Plain


[View source]
def protocol_name : String #

Returns the uppercase protocol mechanism name.


[View source]