/// <summary> /// Initializes a new instance of the <see cref="GrantCode" /> class. /// </summary> /// <param name="accessToken">The access token acts as a kind of \"valet key\" that the application can include with its requests to the identity provider, which prove that it has permission from the user to access those APIs..</param> /// <param name="refreshToken">A longer lasting token that may be used to retrieve new access tokens upon access token expiration..</param> /// <param name="expiresIn">Seconds that access token is valid for from now..</param> /// <param name="scope">scope.</param> public GrantCode(string accessToken = default(string), string refreshToken = default(string), int?expiresIn = default(int?), GrantCodeScope scope = default(GrantCodeScope)) { this.AccessToken = accessToken; this.RefreshToken = refreshToken; this.ExpiresIn = expiresIn; this.Scope = scope; }
/// <summary> /// Initializes a new instance of the <see cref="GrantCode" /> class. /// </summary> /// <param name="AccessToken">The access token acts as a kind of \"valet key\" that the application can include with its requests to the identity provider, which prove that it has permission from the user to access those APIs..</param> /// <param name="RefreshToken">A longer lasting token that may be used to retrieve new access tokens upon access token expiration..</param> /// <param name="ExpiresIn">Seconds that access token is valid for from now..</param> /// <param name="Scope">Scope.</param> public GrantCode(string AccessToken = default(string), string RefreshToken = default(string), int?ExpiresIn = default(int?), GrantCodeScope Scope = default(GrantCodeScope)) { this.AccessToken = AccessToken; this.RefreshToken = RefreshToken; this.ExpiresIn = ExpiresIn; this.Scope = Scope; }