rest

package
v1.25.0-beta.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrganization added in v1.25.0

func NewOrganization(f *factory.Factory) *organization

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