identity

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry added in v0.0.5

type Entry struct {
	Message  string `json:"message"`
	Severity string `json:"severity,omitempty"`
	Trace    string `json:"logging.googleapis.com/trace,omitempty"`

	// Logs Explorer allows filtering and display of this as `jsonPayload.component`.
	Component string `json:"component,omitempty"`
}

Entry defines a log entry.

func (Entry) String added in v0.0.5

func (e Entry) String() string

String renders an entry structure to the JSON format expected by Cloud Logging.

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