authentication

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateLoginConfig added in v0.10.28

func UpdateLoginConfig(loginconfig auth.LoginConfig)

UpdateLoginConfig

Types

type AuthenticationClient

type AuthenticationClient struct {
	security.BaseClient
	// contains filtered or unexported fields
}

Client structure

func NewAuthenticationClient

func NewAuthenticationClient(cloudFQDN string, authorizer auth.Authorizer) (*AuthenticationClient, error)

NewClient method returns new client

func NewAuthenticationClientAuthMode added in v0.10.7

func NewAuthenticationClientAuthMode(cloudFQDN string, loginconfig auth.LoginConfig) (*AuthenticationClient, error)

NewClient method returns new client based on the authentication mode

func (*AuthenticationClient) Login

func (c *AuthenticationClient) Login(ctx context.Context, group string, identity *security.Identity) (*string, error)

Get methods invokes the client Get method

func (*AuthenticationClient) LoginWithConfig added in v0.10.7

func (c *AuthenticationClient) LoginWithConfig(ctx context.Context, group string, loginconfig auth.LoginConfig, enableRenewRoutine bool) (*auth.WssdConfig, error)

Get methods invokes the client Get method

type Service

type Service interface {
	Login(context.Context, string, *security.Identity) (*string, error)
	LoginWithConfig(context.Context, string, auth.LoginConfig, bool) (*auth.WssdConfig, error)
}

Service interface

Jump to

Keyboard shortcuts

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