oidc

package
v1.34.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	AccessToken string
	TokenType   string
	// contains filtered or unexported fields
}

type AccessTokenSupplier

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

func NewAccessTokenSupplier added in v1.34.3

func NewAccessTokenSupplier(config AccessTokenSupplierConfig) *AccessTokenSupplier

func (*AccessTokenSupplier) GetAuthorizationHeaderValue

func (s *AccessTokenSupplier) GetAuthorizationHeaderValue() (string, error)

func (*AccessTokenSupplier) GetRawTokenValue

func (s *AccessTokenSupplier) GetRawTokenValue() (string, error)

func (*AccessTokenSupplier) GetToken added in v1.34.3

func (s *AccessTokenSupplier) GetToken() (string, error)

GetToken is an alias for GetRawTokenValue.

type AccessTokenSupplierConfig

type AccessTokenSupplierConfig struct {
	ClientID       string
	ClientSecret   string
	TokenIssuerURL string
	Audience       string
}

Jump to

Keyboard shortcuts

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