auth

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	oauth2.Token
	IDToken string `json:"id_token,omitempty"`
}

func (Token) Expired

func (t Token) Expired(now time.Time) bool

Expired returns true if expired

func (*Token) IdentityToken

func (t *Token) IdentityToken() (*oauth2.Token, error)

func (*Token) PopulateIDToken

func (t *Token) PopulateIDToken()

func (*Token) Raw

func (t *Token) Raw() interface{}

Directories

Path Synopsis
gcp
jwt

Jump to

Keyboard shortcuts

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