oidc

package
v1.45.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 12 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(params AccessTokenSupplierParameters) *AccessTokenSupplier

func (*AccessTokenSupplier) GetAuthorizationHeaderValue

func (s *AccessTokenSupplier) GetAuthorizationHeaderValue(ctx context.Context) (string, error)

func (*AccessTokenSupplier) GetRawTokenValue

func (s *AccessTokenSupplier) GetRawTokenValue(ctx context.Context) (string, error)

func (*AccessTokenSupplier) GetToken added in v1.34.3

func (s *AccessTokenSupplier) GetToken(ctx context.Context) (string, error)

GetToken is an alias for GetRawTokenValue.

type AccessTokenSupplierConfig

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

type AccessTokenSupplierParameters added in v1.36.0

type AccessTokenSupplierParameters struct {
	fx.In

	Config  AccessTokenSupplierConfig
	Tracing opentelemetry.Configuration `optional:"true"`
}

Jump to

Keyboard shortcuts

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