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.AuthorizeToken) error ConvertToAccessToken(interface{}, *api.AccessToken) error ConvertFromAuthorizeToken(*api.AuthorizeToken) (interface{}, error) ConvertFromAccessToken(*api.AccessToken) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.