1 write to _options
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\TestSettings.cs (1)
38
_options
= o;
16 references to _options
Microsoft.AspNetCore.Authentication.Test (16)
OpenIdConnect\TestSettings.cs (16)
39
_options
.BackchannelHttpHandler = backchannel;
222
expectedAuthority =
_options
.Configuration?.TokenEndpoint ??
_options
.Authority + @"/oauth2/token";
225
expectedAuthority =
_options
.Configuration?.EndSessionEndpoint ??
_options
.Authority + @"/oauth2/logout";
228
expectedAuthority =
_options
.Configuration?.AuthorizationEndpoint ??
_options
.Authority + @"/oauth2/authorize";
239
ValidateParameter(OpenIdConnectParameterNames.ClientId,
_options
.ClientId, actualParams, errors, htmlEncoded);
242
ValidateParameter(OpenIdConnectParameterNames.ResponseType,
_options
.ResponseType, actualParams, errors, htmlEncoded);
245
ValidateParameter(OpenIdConnectParameterNames.ResponseMode,
_options
.ResponseMode, actualParams, errors, htmlEncoded);
248
ValidateParameter(OpenIdConnectParameterNames.Scope, string.Join(" ",
_options
.Scope), actualParams, errors, htmlEncoded);
251
ValidateParameter(OpenIdConnectParameterNames.RedirectUri, TestServerBuilder.TestHost +
_options
.CallbackPath, actualParams, errors, htmlEncoded);
254
ValidateParameter(OpenIdConnectParameterNames.RedirectUri,
_options
.Resource, actualParams, errors, htmlEncoded);
275
if (
_options
.MaxAge.HasValue)
277
Assert.Equal(TimeSpan.FromMinutes(20),
_options
.MaxAge.Value);
288
ValidateParameter(OpenIdConnectParameterNames.Prompt,
_options
.Prompt, actualParams, errors, htmlEncoded);