authvalidation

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

Validator validates authentication credentials

func NewValidator

func NewValidator(creds *credentials.Credentials, environmentSet *environments.EnvironmentSet, log *zerolog.Logger) *Validator

NewValidator creates a new credential validator

func (*Validator) ValidateCredentials

func (v *Validator) ValidateCredentials(validationCtx context.Context, creds *credentials.Credentials) error

ValidateCredentials validates the provided credentials by making a lightweight GraphQL query The GraphQL client automatically handles token refresh if needed

Jump to

Keyboard shortcuts

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