/// <summary> /// Initializes a new instance of the <see cref="GrantClient" /> 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="expiresIn">Seconds that access token is valid for from now..</param> /// <param name="scope">scope.</param> public GrantClient(string accessToken = default(string), int?expiresIn = default(int?), GrantClientScope scope = default(GrantClientScope)) { this.AccessToken = accessToken; this.ExpiresIn = expiresIn; this.Scope = scope; }
/// <summary> /// Initializes a new instance of the <see cref="GrantClient" /> 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="ExpiresIn">Seconds that access token is valid for from now..</param> /// <param name="Scope">Scope.</param> public GrantClient(string AccessToken = default(string), int?ExpiresIn = default(int?), GrantClientScope Scope = default(GrantClientScope)) { this.AccessToken = AccessToken; this.ExpiresIn = ExpiresIn; this.Scope = Scope; }