resource

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionResource

type SessionResource struct {
	AuthHandler *oidc.Handler
}

SessionResource is an HTTP resource that manages authentication sessions.

func NewSessionResource

func NewSessionResource(handler *oidc.Handler) *SessionResource

NewSessionResource creates a new session resource with the provided OIDC handler.

func (*SessionResource) Handler

func (dr *SessionResource) Handler() http.Handler

Handler returns the HTTP handler for the session resource.

func (*SessionResource) Status

func (dr *SessionResource) Status() (any, error)

Status returns the status of the session resource.

type SessionResourceStatus

type SessionResourceStatus struct {
	Status string
}

SessionResourceStatus represents the status of the session resource.

Jump to

Keyboard shortcuts

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