Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(access oauthclient.OAuthAccessTokenInterface, authorize oauthclient.OAuthAuthorizeTokenInterface, client api.OAuthClientGetter, user UserConversion, tokentimeout int32) osin.Storage
Types ¶
type UserConversion ¶
type UserConversion interface { ConvertToAuthorizeToken(interface{}, *oauthapi.OAuthAuthorizeToken) error ConvertToAccessToken(interface{}, *oauthapi.OAuthAccessToken) error ConvertFromAuthorizeToken(*oauthapi.OAuthAuthorizeToken) (interface{}, error) ConvertFromAccessToken(*oauthapi.OAuthAccessToken) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.