/// <summary> /// Initializes a new instance of the <see cref="TokenInfo" /> class. /// </summary> /// <param name="Organization">The current organization.</param> /// <param name="HomeOrganization">The token's home organization.</param> /// <param name="OAuthClient">OAuthClient.</param> public TokenInfo(Entity Organization = null, Entity HomeOrganization = null, OrgOAuthClient OAuthClient = null) { this.Organization = Organization; this.HomeOrganization = HomeOrganization; this.OAuthClient = OAuthClient; }
/// <summary> /// Initializes a new instance of the <see cref="TokenInfo" /> class. /// </summary> /// <param name="Organization">The current organization.</param> /// <param name="HomeOrganization">The token's home organization.</param> /// <param name="AuthorizedScope">The list of scopes authorized for the OAuth client.</param> /// <param name="OAuthClient">OAuthClient.</param> public TokenInfo(NamedEntity Organization = null, NamedEntity HomeOrganization = null, List <string> AuthorizedScope = null, OrgOAuthClient OAuthClient = null) { this.Organization = Organization; this.HomeOrganization = HomeOrganization; this.AuthorizedScope = AuthorizedScope; this.OAuthClient = OAuthClient; }
/// <summary> /// Initializes a new instance of the <see cref="TokenInfo" /> class. /// </summary> /// <param name="OAuthClient">OAuthClient.</param> public TokenInfo(OrgOAuthClient OAuthClient = null) { this.OAuthClient = OAuthClient; }