client

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Id() string
	CredentialsGrantRequest() (*http.Request, error)
}

func NewClientSecretBasic

func NewClientSecretBasic(id, secret, tokenEndpoint string) Client

func NewClientSecretJwt

func NewClientSecretJwt(id, clientSecret, tokenEndpoint string) Client

func NewNoClient

func NewNoClient() Client

func NewPrivateKeyJwt

func NewPrivateKeyJwt(
	id, tokenEndpoint string,
	privateKey *rsa.PrivateKey,
	signingAlgorithm jwt.SigningMethod,
) Client

func NewTlsClientAuth

func NewTlsClientAuth(id, tokenEndpoint string) Client

Jump to

Keyboard shortcuts

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