Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessTokenGenJWT ¶
func NewAccessTokenGenJWT(privatekeyPEM, publickeyPEM []byte) (osin.AccessTokenGen, error)
Types ¶
type AccessTokenGenJWT ¶
type AccessTokenGenJWT struct {
// contains filtered or unexported fields
}
JWT access token generator
func (*AccessTokenGenJWT) GenerateAccessToken ¶
func (c *AccessTokenGenJWT) GenerateAccessToken(data *osin.AccessData, generaterefresh bool) ( accesstoken string, refreshtoken string, err error)
Click to show internal directories.
Click to hide internal directories.