Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PubKey []byte
KID string
VerificationMethodType string
ResolutionPath string
OperationPath string
BaseURL string
DiscoveryDomains []string
DiscoveryMinimumResolvers int
}
Config defines configuration for discovery operations.
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"errMessage,omitempty"`
}
ErrorResponse to send error message in the response.
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation defines handlers for discovery operations.
func (*Operation) GetRESTHandlers ¶
func (o *Operation) GetRESTHandlers() []common.HTTPHandler
GetRESTHandlers get all controller API handler available for this service.
type RawDoc ¶
type RawDoc struct {
Context string `json:"@context"`
ID string `json:"id"`
VerificationMethod []verificationMethod `json:"verificationMethod"`
Authentication []string `json:"authentication"`
AssertionMethod []string `json:"assertionMethod"`
CapabilityDelegation []string `json:"capabilityDelegation"`
CapabilityInvocation []string `json:"capabilityInvocation"`
}
RawDoc did document.
type WebFingerLink ¶
WebFingerLink web finger link.
type WebFingerResponse ¶
type WebFingerResponse struct {
Subject string `json:"subject,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
Links []WebFingerLink `json:"links,omitempty"`
}
WebFingerResponse web finger response.
type WellKnownResponse ¶
type WellKnownResponse struct {
ResolutionEndpoint string `json:"resolutionEndpoint,omitempty"`
OperationEndpoint string `json:"operationEndpoint,omitempty"`
}
WellKnownResponse well known response.
Click to show internal directories.
Click to hide internal directories.