SASLScram512
faststream.security.SASLScram512 #
SASLScram512(
username: str,
password: str,
ssl_context: Optional[SSLContext] = None,
use_ssl: bool | None = None,
)
Bases: BaseSecurity
Security configuration for SASL/SCRAM-SHA-512 authentication.
This class defines security configuration for SASL/SCRAM-SHA-512 authentication, which includes a username and password.
Source code in faststream/security.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
get_requirement #
get_requirement() -> list[dict[str, Any]]
Get the security requirements for SASL/SCRAM-SHA-512 authentication.
Source code in faststream/security.py
147 148 149 150 | |
get_schema #
get_schema() -> dict[str, dict[str, str]]
Get the security schema for SASL/SCRAM-SHA-512 authentication.
Source code in faststream/security.py
152 153 154 155 | |