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