oauth

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*oauth2.Config
	DeviceEndpoint string
}

Config oauth2.Config overridden with device endpoint for supporting Device Authorization Grant flow [RFC8268]

func BuildConfigFromMetadataService

func BuildConfigFromMetadataService(ctx context.Context, authMetadataClient service.AuthMetadataServiceClient) (clientConf *Config, err error)

BuildConfigFromMetadataService builds OAuth2 config from information retrieved through the anonymous auth metadata service.

Jump to

Keyboard shortcuts

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