api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseEndpoints

func BaseEndpoints() []core.Endpoint

BaseEndpoints returns framework-agnostic endpoint specifications for all core authentication endpoints.

Each endpoint is a template with metadata for OpenAPI documentation. Handlers are nil - they are provided by framework adapters.

Types

type EndpointRegistry

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

EndpointRegistry manages endpoints with conflict detection

func NewEndpointRegistry

func NewEndpointRegistry() *EndpointRegistry

NewEndpointRegistry creates a registry with base auth endpoints

func (*EndpointRegistry) Endpoints

func (r *EndpointRegistry) Endpoints() []*core.Endpoint

Endpoints returns all registered endpoints

func (*EndpointRegistry) Get

func (r *EndpointRegistry) Get(method, path string) *core.Endpoint

Get returns an endpoint by method and path

Jump to

Keyboard shortcuts

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