models

package
v0.0.0-...-64e8fac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

func (*TokenEndpointAuthMethod) Value

func (t *TokenEndpointAuthMethod) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL