executor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// VerifySubject returns the result of verifying a subject
	VerifySubject(ctx context.Context, verifyParameters VerifyParameters) (types.VerifyResult, error)

	// GetVerifyRequestTimeout returns the timeout for the verification request configured with the executor
	GetVerifyRequestTimeout() time.Duration

	// GetMutationRequestTimeout returns the timeout for the mutation request configured with the executor
	GetMutationRequestTimeout() time.Duration
}

Executor is an interface that defines methods to verify a subject

type VerifyParameters

type VerifyParameters struct {
	Subject        string   `json:"subjectReference"`
	ReferenceTypes []string `json:"referenceTypes,omitempty"`
}

VerifyParameters describes the subject verification parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy