oauth2factory

package
v1.14.0-initial-react-... Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetConfigRequest

type GetConfigRequest struct {
	IDPHint string
}

type GetConfigResponse

type GetConfigResponse struct {
	Config *oauth2.Config
}

type GetOIDCProviderRequest

type GetOIDCProviderRequest struct {
	IDPHint string
}

type GetOIDCProviderResponse

type GetOIDCProviderResponse struct {
	OIDCProvider *oidc.Provider
}

type IOAuth2Factory

type IOAuth2Factory interface {
	GetConfig(ctx context.Context, request *GetConfigRequest) (*GetConfigResponse, error)
}

type IOIDCProviderFactory

type IOIDCProviderFactory interface {
	GetOIDCProvider(ctx context.Context, request *GetOIDCProviderRequest) (*GetOIDCProviderResponse, error)
}

Jump to

Keyboard shortcuts

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