jwt

package
v0.0.0-...-d58d4f3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(oauthClientID string, config oidcHydraConfig) (string, error)

Types

type Config

type Config struct {
	OidcHydraConfig oidcHydraConfig
	EnvConfig       envConfig
}

Config JWT configuration structure

func LoadConfig

func LoadConfig(oauthClientID string) (Config, error)

LoadConfig Generate test config from envs

type OidcHydraTestFlow

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

OidcHydraTestFlow implements OIDC flows for deployed OryHydra with test login consent endpoints.

func (*OidcHydraTestFlow) GetToken

func (f *OidcHydraTestFlow) GetToken() (string, error)

Jump to

Keyboard shortcuts

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