id_token

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: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(alg string, key interface{}, keyId,
	issuer, clientId, subject, nonce string,
	expiresIn, authTime int64, now time.Time) (string, error)

func GenForHybrid

func GenForHybrid(alg string, key interface{}, keyId,
	issuer, clientId, subject, nonce string,
	expiresIn, authTime int64, accessToken, code string, now time.Time) (string, error)

func GenForImplicit

func GenForImplicit(alg string, key interface{}, keyId,
	issuer, clientId, subject, nonce string,
	expiresIn, authTime int64, accessToken string, now time.Time) (string, error)

func Hash

func Hash(alg string, token string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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