faust.types.auth

class faust.types.auth.AuthProtocol(value)[source]

An enumeration.

SSL = 'SSL'
PLAINTEXT = 'PLAINTEXT'
SASL_PLAINTEXT = 'SASL_PLAINTEXT'
SASL_SSL = 'SASL_SSL'
class faust.types.auth.CredentialsT[source]
protocol: AuthProtocol
class faust.types.auth.SASLMechanism(value)[source]

An enumeration.

PLAIN = 'PLAIN'
GSSAPI = 'GSSAPI'
SCRAM_SHA_256 = 'SCRAM-SHA-256'
SCRAM_SHA_512 = 'SCRAM-SHA-512'
OAUTHBEARER = 'OAUTHBEARER'
faust.types.auth.to_credentials(obj: Optional[Union[CredentialsT, SSLContext]] = None) Optional[CredentialsT][source]
Return type:

_UnionGenericAlias[CredentialsT, None]