authhelper

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: UPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfigProvider

type AuthConfigProvider struct {
	Log loggerutil.OSOKLogger
}

func (*AuthConfigProvider) GetAuthProvider

func (configProvider *AuthConfigProvider) GetAuthProvider(osokConfig OsokConfig) (common.ConfigurationProvider, error)

type AuthProvider

type AuthProvider interface {
	GetAuthProvider(cfg config.OsokConfig) (common.ConfigurationProvider, error)
}

type UserPrincipal

type UserPrincipal struct {
	UserId      string `json:"userId"`
	Tenancy     string `json:"tenancy"`
	Region      string `json:"region"`
	Fingerprint string `json:"fingerprint"`
	PrivateKey  string `json:"privateKey"`
	Passphrase  string `json:"passphrase"`
}

func (UserPrincipal) GetAuthProvider

func (up UserPrincipal) GetAuthProvider() common.ConfigurationProvider

Jump to

Keyboard shortcuts

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