Discover Packages
github.com/SKF/go-utility/v2
auth
cachedauth
package
Version:
v2.33.14
Opens a new window with list of versions in this module.
Published: Sep 20, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Configure will configure the package
please do not use go-utility/v2/auth together with this package
GetTokens will return the cached tokens
note: Does not refresh the tokens
GetTokens will return the cached tokens
note: Does not refresh the tokens
SignIn is thread safe and only returns new tokens if the old tokens are about to expire
type Config struct {
WithDatadogTracing bool
WithOpenCensusTracing bool
ServiceName string
Stage string
}
Config is the configuration of the package
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.