authgovgr

package
v0.0.0-...-d1c8630 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGovGrTokenFromPool

func GetGovGrTokenFromPool(gsisUserUsername, gsisUserPassword, govSubdomain string) (string, error)

GetGovGrTokenFromPool retrieves a GovGr token from a pool. If the token is expired or doesn't exist, it retrieves a new one.

Types

type TokenInfo

type TokenInfo struct {
	GsisUserUsername string
	GovSubdomain     string
	GovGrToken       string
	Expiration       time.Time
}

TokenInfo holds information about a token and its expiration.

Jump to

Keyboard shortcuts

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