authorizationserver

package
v0.0.0-...-0fc66b4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	Server               config.ServerConfig
	CredentialIssuerFile string `toml:"credential_issuer_file" conf:"default:config/testdata/credential_issuer_metadata.example.json"`
}

type AuthService

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

func NewAuthService

func NewAuthService(issuerMetadata *issuance.IssuerMetadata, provider fosite.OAuth2Provider) *AuthService

func (AuthService) AuthEndpoint

func (s AuthService) AuthEndpoint(c *gin.Context)

AuthEndpoint is a Handler that implements https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-authorization-endpoint

type Server

type Server struct {
	*framework.Server
}

func NewServer

func NewServer(shutdown chan os.Signal, config *AuthConfig, store *storage.MemoryStore) (*Server, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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