Added ability to set prompt parameter in OpenIdConnectOptions (#1401)
This commit is contained in:
parent
144ee21696
commit
4a6c74f4f9
|
|
@ -349,6 +349,7 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
|
|||
RedirectUri = BuildRedirectUri(Options.CallbackPath),
|
||||
Resource = Options.Resource,
|
||||
ResponseType = Options.ResponseType,
|
||||
Prompt = Options.Prompt,
|
||||
Scope = string.Join(" ", Options.Scope)
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -209,6 +209,11 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
|
|||
/// </summary>
|
||||
public string ResponseType { get; set; } = OpenIdConnectResponseType.IdToken;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the 'prompt'.
|
||||
/// </summary>
|
||||
public string Prompt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the list of permissions to request.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue