示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GrantRefresh" /> class.
 /// </summary>
 /// <param name="accessToken">The access token acts as a kind of \&quot;valet key\&quot; 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 GrantRefresh(string accessToken = default(string), string refreshToken = default(string), int?expiresIn = default(int?), GrantRefreshScope scope = default(GrantRefreshScope))
 {
     this.AccessToken  = accessToken;
     this.RefreshToken = refreshToken;
     this.ExpiresIn    = expiresIn;
     this.Scope        = scope;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GrantRefresh" /> class.
 /// </summary>
 /// <param name="AccessToken">The access token acts as a kind of \&quot;valet key\&quot; 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 GrantRefresh(string AccessToken = default(string), string RefreshToken = default(string), int?ExpiresIn = default(int?), GrantRefreshScope Scope = default(GrantRefreshScope))
 {
     this.AccessToken  = AccessToken;
     this.RefreshToken = RefreshToken;
     this.ExpiresIn    = ExpiresIn;
     this.Scope        = Scope;
 }