lineloginadmin

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenVerify added in v0.2.2

type AccessTokenVerify struct {
	ClientID  string `json:"client_id"`
	ExpiresIn int    `json:"expires_in"`
	Scope     string `json:"scope"`
}

func VerifyAccessToken

func VerifyAccessToken(accessToken string) (*AccessTokenVerify, error)

type IDTokenVerify added in v0.2.2

type IDTokenVerify struct {
	ISS     string   `json:"iss"`
	Aud     string   `json:"aud"`
	Exp     int      `json:"exp"`
	Iat     int      `json:"iat"`
	Sub     string   `json:"sub"`
	Name    string   `json:"name"`
	Picture string   `json:"picture"`
	Amr     []string `json:"amr"`
	Email   string   `json:"email"`
}

func VerifyIDToken

func VerifyIDToken(IDToken, ChannelID string) (*IDTokenVerify, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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