Enum of supported mechanisms used to pass credentials to the server.
According to https://tools.ietf.org/html/rfc6749#section-2.3.1:
"Including the client credentials in the request-body using the two parameters is NOT RECOMMENDED and SHOULD be limited to clients unable to directly utilize the HTTP Basic authentication scheme (or other password-based HTTP authentication schemes)."
Therefore, HTTP Basic is preferred, and Request Body should only be used if the server does not support HTTP Basic.
0 1 Returns true if this enum value equals HTTPBasic
Returns true if this enum value equals RequestBody
Enum
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
Object
Returns true if this enum value equals RequestBody
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/OAuth2/AuthScheme.html