keyring

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSecretsForTenant

func DeleteSecretsForTenant(tenant string) error

DeleteSecretsForTenant deletes all secrets for a given tenant.

func GetAccessToken

func GetAccessToken(tenant string) (string, error)

func GetClientSecret

func GetClientSecret(tenant string) (string, error)

GetClientSecret retrieves a tenant's client secret from the system keyring.

func GetRefreshToken

func GetRefreshToken(tenant string) (string, error)

GetRefreshToken retrieves a tenant's refresh token from the system keyring.

func StoreAccessToken

func StoreAccessToken(tenant, value string) error

func StoreClientSecret

func StoreClientSecret(tenant, value string) error

StoreClientSecret stores a tenant's client secret in the system keyring.

func StoreRefreshToken

func StoreRefreshToken(tenant, value string) error

StoreRefreshToken stores a tenant's refresh token in the system keyring.

Types

This section is empty.

Jump to

Keyboard shortcuts

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