client

package
v0.1.1-alpha02 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnySdkArg

type AnySdkArg interface {
	GetArg() (interface{}, bool)
}

type AnySdkArgList

type AnySdkArgList interface {
	GetArgs() []AnySdkArg
}

type AnySdkClient

type AnySdkClient interface {
	Do(AnySdkDesignation, AnySdkArgList) (AnySdkResponse, error)
}

type AnySdkClientConfigurator

type AnySdkClientConfigurator interface {
	Auth(
		authCtx *dto.AuthCtx,
		authTypeRequested string,
		enforceRevokeFirst bool,
	) (AnySdkClient, error)
	InferAuthType(authCtx dto.AuthCtx, authTypeRequested string) string
}

type AnySdkDesignation

type AnySdkDesignation interface {
	GetDesignation() (interface{}, bool)
}

type AnySdkInvocation

type AnySdkInvocation interface {
	GetDesignation() (AnySdkDesignation, bool)
	GetArgs() (AnySdkArgList, bool)
}

type AnySdkResponse

type AnySdkResponse interface {
	IsErroneous() bool
	GetHttpResponse() (*http.Response, error)
}

type ClientConfiguratorInput

type ClientConfiguratorInput interface {
	GetAuthContext() *dto.AuthCtx
	GetAuthType() string
	GetEnforceRevokeFirst() bool
}

type ClientProtocolType

type ClientProtocolType int
const (
	HTTP ClientProtocolType = iota
	Disallowed
)

Jump to

Keyboard shortcuts

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