/// <summary> /// Initializes a new instance of the <see cref="GrantPassword" /> 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="refreshToken">refreshToken.</param> /// <param name="scope">scope.</param> public GrantPassword(string accessToken = default(string), int?expiresIn = default(int?), string refreshToken = default(string), GrantPasswordScope scope = default(GrantPasswordScope)) { this.AccessToken = accessToken; this.ExpiresIn = expiresIn; this.RefreshToken = refreshToken; this.Scope = scope; }
/// <summary> /// Initializes a new instance of the <see cref="GrantPassword" /> 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="RefreshToken">RefreshToken.</param> /// <param name="Scope">Scope.</param> public GrantPassword(string AccessToken = default(string), int?ExpiresIn = default(int?), string RefreshToken = default(string), GrantPasswordScope Scope = default(GrantPasswordScope)) { this.AccessToken = AccessToken; this.ExpiresIn = ExpiresIn; this.RefreshToken = RefreshToken; this.Scope = Scope; }