idtoken

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 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 Claims

type Claims struct {
	oidc.TokenClaims
	PreferredUsername string         `json:"preferred_username,omitempty"`
	AccessTokenHash   string         `json:"at_hash,omitempty"`
	IPAddr            string         `json:"ipaddr,omitempty"`
	Claims            map[string]any `json:"-"`
}

func (*Claims) GetAccessTokenHash

func (c *Claims) GetAccessTokenHash() string

GetAccessTokenHash implements the oidc.IDTokenClaims interface.

Jump to

Keyboard shortcuts

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