dto

package
v0.0.0-...-a2079b4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ParSegment          = "fosite_par"
	AuthCodeSegment     = "fosite_auth_code"
	PkceSessionSegment  = "fosite_pkce_sessions"
	RefreshTokenSegment = "fosite_refresh_token_sessions" //nolint: gosec
	AccessTokenSegment  = "fosite_access_token_sessions"
)

Variables

View Source
var ErrDataNotFound = errors.New("data not found")

Functions

This section is empty.

Types

type AuthorizeRequest

type AuthorizeRequest struct {
	ResponseTypes        fosite.Arguments
	RedirectURI          *url.URL
	State                string
	HandledResponseTypes fosite.Arguments
	ResponseMode         fosite.ResponseModeType
	DefaultResponseMode  fosite.ResponseModeType
	ClientID             string
}

type Request

type Request struct {
	ID                string
	RequestedAt       time.Time
	RequestedScope    fosite.Arguments
	GrantedScope      fosite.Arguments
	Form              url.Values
	RequestedAudience fosite.Arguments
	GrantedAudience   fosite.Arguments
	Lang              language.Tag
	ClientID          string
	SessionExtra      map[string]interface{}
}

Jump to

Keyboard shortcuts

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