authentication

package
v0.10.26-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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