oidc

package
v0.32.16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claim

type Claim struct {
	//Define if the claim is required, otherwise the login will fail
	Essential bool `json:"essential,omitempty" yaml:"essential,omitempty"`
	//Required values of the claim, otherwise hte login will fail
	Values []string `json:"values,omitempty" yaml:"values,omitempty"`
}

type OIDC

type OIDC struct {
	//Internal name of the OIDC provider
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
	//Issuer of the OIDC provider
	Issuer   string         `json:"issuer,omitempty" yaml:"issuer,omitempty"`
	ClientID *secret.Secret `yaml:"clientID,omitempty"`
	//Existing secret with the clientID
	ExistingClientIDSecret *secret.Existing `json:"existingClientIDSecret,omitempty" yaml:"existingClientIDSecret,omitempty"`
	ClientSecret           *secret.Secret   `yaml:"clientSecret,omitempty"`
	//Existing secret with the clientSecret
	ExistingClientSecretSecret *secret.Existing `json:"existingClientSecretSecret,omitempty" yaml:"existingClientSecretSecret,omitempty"`
	//Optional set of OIDC scopes to request. If omitted, defaults to: ["openid", "profile", "email", "groups"]
	RequestedScopes []string `json:"requestedScopes,omitempty" yaml:"requestedScopes,omitempty"`
	//Optional set of OIDC claims to request on the ID token.
	RequestedIDTokenClaims map[string]Claim `json:"requestedIDTokenClaims,omitempty" yaml:"requestedIDTokenClaims,omitempty"`
}

func (*OIDC) IsZero added in v0.32.6

func (c *OIDC) IsZero() bool

Jump to

Keyboard shortcuts

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