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),
|
RedirectUri = BuildRedirectUri(Options.CallbackPath),
|
||||||
Resource = Options.Resource,
|
Resource = Options.Resource,
|
||||||
ResponseType = Options.ResponseType,
|
ResponseType = Options.ResponseType,
|
||||||
|
Prompt = Options.Prompt,
|
||||||
Scope = string.Join(" ", Options.Scope)
|
Scope = string.Join(" ", Options.Scope)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,11 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ResponseType { get; set; } = OpenIdConnectResponseType.IdToken;
|
public string ResponseType { get; set; } = OpenIdConnectResponseType.IdToken;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the 'prompt'.
|
||||||
|
/// </summary>
|
||||||
|
public string Prompt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the list of permissions to request.
|
/// Gets the list of permissions to request.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue