types

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrantType

type GrantType uint8
const (
	AuthorizationCode GrantType = iota
	DeviceCode
	Implicit
	ClientCredentials
	ResourceOwnerPasswordCredentials
)

func (GrantType) String

func (g GrantType) String() string

type IntrospectionResponse added in v0.2.3

type IntrospectionResponse struct {
	Active           bool           `json:"active"`
	Scope            *storage.Scope `json:"scope,omitempty"`
	ClientID         string         `json:"client_id,omitempty"`
	Username         string         `json:"username,omitempty"`
	Expires          uint64         `json:"exp,omitempty"`
	Error            string         `json:"error,omitempty"`
	ErrorDescription string         `json:"error_description,omitempty"`
}

Jump to

Keyboard shortcuts

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