Versions in this module Expand all Collapse all v1 v1.1.0 Jan 26, 2023 Changes in this version + type Client interface + ExchangeToken func(ctx context.Context, accessToken string) (string, string, error) + GetAccessToken func() (string, error) + GetRefreshToken func() (string, error) + GetUserInfo func(ctx context.Context, accessToken string) (UserInfo, error) + IsAccessTokenValid func(ctx context.Context, accessToken string) (bool, error) + RefreshToken func(ctx context.Context) (string, string, error) + func GetClient(deploymentID, url, clientID, clientSecret, realm string) Client + type UserInfo struct + Attributes map[string][]map[string]string + Email string + FamilyName string + Gender string + GivenName string + Locale string + MiddleName string + Name string + Nickname string + PhoneNumber string + Picture string + PreferredUsername string + Profile string + Sub string + Website string + ZoneInfo string + func (u UserInfo) GetName() string