identity

package
v0.0.0-...-7ce9cfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	// contains filtered or unexported fields
}

Identity holds information required to verify an OIDC identity token

func NewIdentity

func NewIdentity(c *config.SSHrimp) (*Identity, error)

NewIdentity return a new Identity, with default values and oidc proivder information populated

func (*Identity) Validate

func (i *Identity) Validate(token string) (string, error)

Validate an identity token

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL