Documentation ¶
Index ¶
- Constants
- func CheckIfTokenFileExists(userId string) bool
- func CreateTokenFile(userId string, data map[string]interface{}) error
- func DeleteTokenFile(userId string) error
- func GetAccessToken(userId string) (string, error)
- func GetLoginLink(userId string) (string, error)
- func InitializePKCE(userId string) (authhandler.PKCEParams, error)
- func ParseUSTHingRedirectURL(url string) (string, error)
- func ReadTokenFile(userId string) (map[string]interface{}, error)
- func SaveTokenFromMicrosoft(userId string, body map[string]interface{}) error
- func UpdateOrAddValueToTokenFile(userId string, newData map[string]interface{}) error
- type TokenData
- type UserInfo
Constants ¶
View Source
const TokenPath = "./data/usthing-tokens/"
Variables ¶
This section is empty.
Functions ¶
func CheckIfTokenFileExists ¶
func CreateTokenFile ¶
func DeleteTokenFile ¶
func GetAccessToken ¶
func GetLoginLink ¶
func InitializePKCE ¶
func InitializePKCE(userId string) (authhandler.PKCEParams, error)
func ParseUSTHingRedirectURL ¶
func ReadTokenFile ¶
func SaveTokenFromMicrosoft ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.