iap

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRefreshToken

func CreateRefreshToken() error

func LoadOrCreateRefreshTokens added in v1.0.0

func LoadOrCreateRefreshTokens() (*refreshTokens, error)

func RefreshTokenExists

func RefreshTokenExists(audience string) (bool, error)

func RefreshTokenPath added in v1.0.0

func RefreshTokenPath() (string, error)

Types

type OauthTokens added in v1.0.9

type OauthTokens struct {
	IDToken      string
	RefreshToken string
	AccessToken  string
	Raw          *internal.Token
}

func CreateIDToken

func CreateIDToken(IAPAudience string) (*OauthTokens, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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