providers

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.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 CustomOption

type CustomOption func(*CustomOptions)

func WithOpenfortProvider

func WithOpenfortProvider(value string) CustomOption

func WithOpenfortTokenType

func WithOpenfortTokenType(value string) CustomOption

type CustomOptions

type CustomOptions struct {
	OpenfortProvider  *string
	OpenfortTokenType *string
}

type IdentityProvider

type IdentityProvider interface {
	GetProviderID() string
	Identify(ctx context.Context, token string, opts ...CustomOption) (string, error)
}

Jump to

Keyboard shortcuts

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