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
Click to show internal directories.
Click to hide internal directories.