authentication

package
v0.10.8-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 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(group string, loginconfig auth.LoginConfig) (*auth.WssdConfig, error)

Get methods invokes the client Get method

type Service

type Service interface {
	Login(context.Context, string, *security.Identity) (*string, error)
	LoginWithConfig(string, auth.LoginConfig) (*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