Documentation
¶
Index ¶
Constants ¶
View Source
const (
// CacheKeySeparator is used in creating the keys of the cache.
CacheKeySeparator = "-"
)
Variables ¶
View Source
var DefaultClient = &http.Client{}
DefaultClient is our default shared HTTP client.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
HomeAccountID string `json:"home_account_id,omitempty"`
Environment string `json:"environment,omitempty"`
Realm string `json:"realm,omitempty"`
LocalAccountID string `json:"local_account_id,omitempty"`
AuthorityType string `json:"authority_type,omitempty"`
PreferredUsername string `json:"username,omitempty"`
GivenName string `json:"given_name,omitempty"`
FamilyName string `json:"family_name,omitempty"`
MiddleName string `json:"middle_name,omitempty"`
Name string `json:"name,omitempty"`
AlternativeID string `json:"alternative_account_id,omitempty"`
RawClientInfo string `json:"client_info,omitempty"`
UserAssertionHash string `json:"user_assertion_hash,omitempty"`
AdditionalFields map[string]interface{}
}
func NewAccount ¶
NewAccount creates an account.
Click to show internal directories.
Click to hide internal directories.