Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(access accesstoken.Registry, authorize authorizetoken.Registry, client client.Registry, 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.