Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Guard ¶
type Guard interface {
Introspect(token string) (Introspect, error)
}
type Introspect ¶ added in v0.0.2
type Mock ¶ added in v0.0.3
type Mock struct { AccessToken string ClientID string UserID string Scopes []string User introspection.User }
func (Mock) Introspect ¶ added in v0.0.3
func (m Mock) Introspect(string) (Introspect, error)
Introspect mocks the bouncer's Introspect function
type Token ¶
type Token struct {
*cache.Cache
}
func (Token) GetCachedToken ¶
GetCachedToken fetches client access token from cache
func (Token) SetCachedToken ¶
SetCachedToken stores client access token to cache
Click to show internal directories.
Click to hide internal directories.