ofidty

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenfortIdentityFactory

func NewOpenfortIdentityFactory(config *Config, providerConfig *provider.OpenfortConfig, authenticationProvider, tokenType *string) factories.Identity

Types

type Config

type Config struct {
	OpenfortBaseURL string `env:"OPENFORT_BASE_URL" envDefault:"https://api.openfort.xyz"`
}

func GetConfigFromEnv

func GetConfigFromEnv() (*Config, error)

type OpenfortIdentityFactory

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

func (*OpenfortIdentityFactory) GetProviderID

func (o *OpenfortIdentityFactory) GetProviderID() string

func (*OpenfortIdentityFactory) Identify

func (o *OpenfortIdentityFactory) Identify(ctx context.Context, token string) (string, error)

Jump to

Keyboard shortcuts

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