Documentation ¶
Index ¶
Constants ¶
View Source
const ( GeneratedClaimKey = "gen" GeneratedClaimValue = "system" )
Variables ¶
View Source
var ( ErrMissingRSADisableToken = errors.New("rsa key missing in config, generate and pass file path") ErrInvalidToken = errors.New("failed to verify a valid token") )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
NewService creates a new token service generate keys used for rsa via frontier cli "frontier server keygen"
func (Service) GetPublicKeySet ¶
GetPublicKeySet returns the public keys to verify the access token
Click to show internal directories.
Click to hide internal directories.