Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAccessToken ¶
LoadAccessToken() tries to load a JWT string from an environment variable, file, or config in that order. If loading the token fails with one options, it will fallback to the next option until all options are exhausted.
Returns a token as a string with no error if successful. Alternatively, returns an empty string with an error if a token is not able to be loaded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.