Documentation
¶
Index ¶
- Constants
- type IdentityProvider
- type TokenEndpointAuthMethod
- func (t *TokenEndpointAuthMethod) MarshalJSON() ([]byte, error)
- func (t *TokenEndpointAuthMethod) Scan(value interface{}) error
- func (t *TokenEndpointAuthMethod) String() (string, error)
- func (t *TokenEndpointAuthMethod) UnmarshalJSON(data []byte) error
- func (t *TokenEndpointAuthMethod) Value() (driver.Value, error)
Constants ¶
View Source
const ( ClientSecretSentAsPost = iota + 1 ClientSecretSentAsBasicAuth ClientSecretAsJwt JwtSignedWithPrivateKey )
View Source
const ( ClientSecretSentAsPostStr = "client_secret_sent_as_post" ClientSecretSentAsBasicAuthStr = "client_secret_sent_as_basic_auth" ClientSecretAsJwtStr = "client_secret_as_jwt" JwtSignedWithPrivateKeyStr = "jwt_signed_with_private_key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityProvider ¶
type IdentityProvider struct { global.Model DisplayName string Name string Avatar string AuthorizationEndpoint string TokenEndpoint string UserinfoEndpoint string RevocationEndpoint string Issuer string Scopes string SigningAlgs string TokenEndpointAuthMethod *TokenEndpointAuthMethod Jwks string ClientID string ClientSecret string }
type TokenEndpointAuthMethod ¶
type TokenEndpointAuthMethod uint8
func (*TokenEndpointAuthMethod) MarshalJSON ¶
func (t *TokenEndpointAuthMethod) MarshalJSON() ([]byte, error)
func (*TokenEndpointAuthMethod) Scan ¶
func (t *TokenEndpointAuthMethod) Scan(value interface{}) error
func (*TokenEndpointAuthMethod) String ¶
func (t *TokenEndpointAuthMethod) String() (string, error)
func (*TokenEndpointAuthMethod) UnmarshalJSON ¶
func (t *TokenEndpointAuthMethod) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.