cache

package
v0.0.0-...-37d6c06 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSOClientCredentials

type SSOClientCredentials struct {
	ClientId     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
	ExpiresAt    string `json:"expiresAt"`
}

func GetSSOClientCreds

func GetSSOClientCreds(region string) (*SSOClientCredentials, error)

func (*SSOClientCredentials) Save

func (c *SSOClientCredentials) Save(region *string) error

type SSOToken

type SSOToken struct {
	StartUrl    string `json:"startUrl"`
	Region      string `json:"region"`
	AccessToken string `json:"accessToken"`
	ExpiresAt   string `json:"expiresAt"`
}

func GetSSOToken

func GetSSOToken(
	url string,
	sess *session.Session,
	oidcClient *ssooidc.SSOOIDC,
	region string,
) (*SSOToken, error)

func (*SSOToken) Save

func (c *SSOToken) Save(url string) error

Jump to

Keyboard shortcuts

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