rest

package
v1.21.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Factory *factory.Factory
}

func NewAuth

func NewAuth(f *factory.Factory) *Auth

func (*Auth) AuthenticateWithCredentials

func (r *Auth) AuthenticateWithCredentials(username, password string) (*model.TokenResponse, error)

func (*Auth) ExchangeToken

func (r *Auth) ExchangeToken(code string) (*model.TokenResponse, error)

Jump to

Keyboard shortcuts

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