Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { RedirectURIPattern string `json:"redirect_uri_pattern,omitempty" db:"redirect_uri_pattern"` SecretHash string `json:"secret_hash,omitempty" db:"secret_hash"` SessionName string `json:"session_name,omitempty" db:"session_name"` DisableImplicit bool `json:"disable_implicit,omitempty" db:"disable_implicit"` EnableRefreshTokenRotation bool `json:"enable_refresh_token_rotation,omitempty" db:"enable_refresh_token_rotation"` }
type Store ¶
type Store interface { Authenticate(clientID, clientSecret string) (*Client, error) Lookup(clientID string) (*Client, error) Ping() error }
func NewInMemoryClientStore ¶
func NewSqlStore ¶
type StoreSettings ¶
Click to show internal directories.
Click to hide internal directories.