Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthCookies ¶
func GetEntitlementToken ¶
Types ¶
type AuthCookiesRequestBody ¶
type AuthCookiesResponseBody ¶
type Entitlements ¶
type Entitlements struct {
Entitlements []string `json:"entitlements"`
Hash string `json:"at_hash"`
Subject string `json:"sub"`
Issuer string `json:"iss"`
IssuedAt int `json:"iat"`
JTI string `json:"jti"`
}
func GetEntitlementsFromToken ¶
func GetEntitlementsFromToken(entitlement string) (*Entitlements, error)
type EntitlementsResponseBody ¶
type EntitlementsResponseBody struct {
Token string `json:"entitlements_token"`
}
type LoginRequestBody ¶
type LoginResponseBody ¶
type LoginResponseBody struct {
Type string `json:"type"`
Response LoginResponseBodyResponse `json:"response"`
Country string `json:"country"`
}
Click to show internal directories.
Click to hide internal directories.