clients

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthClient

func NewAuthClient(baseUrl string, authInjector interfaces.AuthenticationInjector) interfaces.AuthClient

NewAuthClient creates an instance of AuthClient

func NewAuthClientWithUrlCallback

func NewAuthClientWithUrlCallback(baseUrlFunc clients.ClientBaseUrlFunc, authInjector interfaces.AuthenticationInjector) interfaces.AuthClient

NewAuthClientWithUrlCallback creates an instance of AuthClient with ClientBaseUrlFunc.

Types

type AuthClient

type AuthClient struct {
	// contains filtered or unexported fields
}

func (*AuthClient) VerificationKeyByIssuer

func (ac *AuthClient) VerificationKeyByIssuer(ctx context.Context, issuer string) (res models.KeyDataResponse, err error)

VerificationKeyByIssuer returns the JWT verification key by the specified issuer

Jump to

Keyboard shortcuts

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