Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatekeeper ¶
type Gatekeeper struct {
// contains filtered or unexported fields
}
func NewGatekeeper ¶
func NewGatekeeper(tokenSecret string, iss string) *Gatekeeper
func NewGatekeeperFromEnv ¶
func NewGatekeeperFromEnv() *Gatekeeper
func (*Gatekeeper) Sign ¶
func (g *Gatekeeper) Sign(clientID string) (authenticating.Token, error)
func (*Gatekeeper) Verify ¶
func (g *Gatekeeper) Verify(tokenDigest string) (authenticating.Token, error)
Click to show internal directories.
Click to hide internal directories.