package
1.10.0
Repository: https://github.com/trustbloc/vcs.git
Documentation: pkg.go.dev

# Functions

InvalidClientMetadataError creates a new RegistrationError with ErrCodeInvalidClientMetadata error code.
New creates a new Manager instance.

# Constants

ErrCodeInvalidClientMetadata defines error case when the value of one of the client metadata fields is invalid and the server has rejected this request.
ErrCodeInvalidRedirectURI defines error case when the value of one or more redirection URIs is invalid.
ErrCodeInvalidSoftwareStatement defines error case when the software statement presented is invalid.
ErrCodeUnapprovedSoftwareStatement defines error case when the software statement presented is not approved for use by the server.

# Variables

No description provided by the author

# Structs

ClientMetadata contains the metadata for an OAuth2 client.
Config defines configuration for client manager.
Manager implements functionality to manage OAuth2 clients.
RegistrationError defines a registration error in client registration response.

# Interfaces

ServiceInterface defines an interface for OAuth2 client manager.

# Type aliases

ErrorCode is an error code for client registration error response as defined in https://datatracker.ietf.org/doc/html/rfc7591#section-3.2.2.