token_endpoint

package
v1.6.7-CU-8689py5wx.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddScopedIHandler

func AddScopedIHandler(builder di.ContainerBuilder)

AddScopedIHandler registers the *service as a singleton.

Types

type TokenEndpointAuthorizationCodeRequest

type TokenEndpointAuthorizationCodeRequest struct {
	GrantType    string `param:"grant_type" query:"grant_type" form:"grant_type" json:"grant_type" xml:"grant_type"`
	Code         string `param:"code" query:"code" form:"code" json:"code" xml:"code"`
	CodeVerifier string `param:"code_verifier" query:"code_verifier" form:"code_verifier" json:"code_verifier" xml:"code_verifier"`
	RedirectURI  string `param:"redirect_uri" query:"redirect_uri" form:"redirect_uri" json:"redirect_uri" xml:"redirect_uri"`
}

type TokenEndpointAuthorizationCodeResponse

type TokenEndpointAuthorizationCodeResponse struct {
	AccessToken  string `json:"access_token,omitempty"`
	TokenType    string `json:"token_type,omitempty"`
	ExpiresIn    int    `json:"expires_in,omitempty"`
	RefreshToken string `json:"refresh_token,omitempty"`
	IDToken      string `json:"id_token,omitempty"`
}

type TokenEndpointRequest

type TokenEndpointRequest struct {
	GrantType string `param:"grant_type" query:"grant_type" form:"grant_type" json:"grant_type" xml:"grant_type"`
}

Jump to

Keyboard shortcuts

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