Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessGenerate ¶
type AccessGenerate struct { }
AccessGenerate generate the access token
func NewAccessGenerate ¶
func NewAccessGenerate() *AccessGenerate
NewAccessGenerate create to generate the access token instance
type AuthorizeGenerate ¶
type AuthorizeGenerate struct{}
AuthorizeGenerate generate the authorize code
func NewAuthorizeGenerate ¶
func NewAuthorizeGenerate() *AuthorizeGenerate
NewAuthorizeGenerate create to generate the authorize code instance
func (*AuthorizeGenerate) Token ¶
func (ag *AuthorizeGenerate) Token(ctx context.Context, data *oauth2.GenerateBasic) (string, error)
Token based on the UUID generated token
Click to show internal directories.
Click to hide internal directories.