Module: BetterAuth::SSO::Types
- Defined in:
- lib/better_auth/sso/types.rb
Constant Summary collapse
- PROVIDER_TYPES =
%w[oidc saml].freeze
- OIDC_TOKEN_ENDPOINT_AUTH_METHODS =
%w[client_secret_post client_secret_basic].freeze
Class Method Summary collapse
Class Method Details
.oidc_token_endpoint_auth_method?(value) ⇒ Boolean
15 16 17 |
# File 'lib/better_auth/sso/types.rb', line 15 def oidc_token_endpoint_auth_method?(value) OIDC_TOKEN_ENDPOINT_AUTH_METHODS.include?(value.to_s) end |
.provider_type?(value) ⇒ Boolean
11 12 13 |
# File 'lib/better_auth/sso/types.rb', line 11 def provider_type?(value) PROVIDER_TYPES.include?(value.to_s) end |