Documentation ¶
Overview ¶
* BSD 3-Clause License * Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
type AccessToken struct { Token string `json:"access_token"` Type string `json:"token_type"` Expires int `json:"expires_in"` }
AccessToken for TIBCO Cloud
type AuthResponse ¶
type AuthResponse struct { UserName string `json:"userName"` FirstName string `json:"firstName"` LastName string `json:"lastName"` UserID string `json:"userId"` Ts int `json:"ts"` OrgName string `json:"orgName"` // AccounstInfo and LoggedInUserInfo is used on Auth V2 when user belongs to multiple subscriptions AccountsInfo []struct { AccountID string `json:"accountId"` AccountDisplayName string `json:"accountDisplayName"` LoggedInUserRole string `json:"loggedInUserRole"` OwnersInfo []struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` Role string `json:"role"` } `json:"ownersInfo"` SubscriptionID string `json:"subscriptionId"` } `json:"accountsInfo"` LoggedInUserInfo struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` UserEntityID string `json:"userEntityId"` } `json:"loggedInUserInfo"` }
AuthResponse for login.
Click to show internal directories.
Click to hide internal directories.