flow

package
v0.0.0-...-049ef2a Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow struct {
	Type               FlowType `json:"type"`
	RequireAccessToken bool     `json:"require_access_token"`
	RequireIdToken     bool     `json:"require_id_token"`
}

func JudgeByResponseType

func JudgeByResponseType(responseType string) (*Flow, error)

type FlowType

type FlowType int
const (
	AuthorizationCode FlowType = iota
	Implicit
	Hybrid
	DirectGrant
)

func (FlowType) MarshalJSON

func (ft FlowType) MarshalJSON() ([]byte, error)

func (FlowType) String

func (ft FlowType) String() string

func (*FlowType) UnmarshalJSON

func (ft *FlowType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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