20 references to GetParameter
Aspire.Dashboard (2)
Authentication\AspirePolicyEvaluator.cs (2)
58else if (result.Properties?.GetParameter<bool>(SuppressChallengeKey) ?? false) 109if (authenticationResult.Failure != null && (authenticationResult.Properties?.GetParameter<bool>(SuppressChallengeKey) ?? false))
Microsoft.AspNetCore.Authentication.Google (6)
GoogleChallengeProperties.cs (5)
65get => GetParameter<string>(AccessTypeKey); 74get => GetParameter<string>(ApprovalPromptKey); 83get => GetParameter<bool?>(IncludeGrantedScopesKey); 92get => GetParameter<string>(LoginHintKey); 101get => GetParameter<string>(PromptParameterKey);
GoogleHandler.cs (1)
95var parameterValue = properties.GetParameter<T>(name);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (5)
MicrosoftAccountHandler.cs (1)
109var parameterValue = properties.GetParameter<T>(name);
MicrosoftChallengeProperties.cs (4)
64get => GetParameter<string>(ResponseModeKey); 77get => GetParameter<string>(DomainHintKey); 89get => GetParameter<string>(LoginHintKey); 101get => GetParameter<string>(PromptKey);
Microsoft.AspNetCore.Authentication.OAuth (2)
OAuthChallengeProperties.cs (1)
43get => GetParameter<ICollection<string>>(ScopeKey)!;
OAuthHandler.cs (1)
302var scopeParameter = properties.GetParameter<ICollection<string>>(OAuthChallengeProperties.ScopeKey);
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
OpenIdConnectChallengeProperties.cs (2)
51get => GetParameter<TimeSpan?>(MaxAgeKey); 60get => GetParameter<string>(PromptKey);
OpenIdConnectHandler.cs (3)
411Prompt = properties.GetParameter<string>(OpenIdConnectParameterNames.Prompt) ?? Options.Prompt, 412Scope = string.Join(" ", properties.GetParameter<ICollection<string>>(OpenIdConnectParameterNames.Scope) ?? Options.Scope), 434var maxAge = properties.GetParameter<TimeSpan?>(OpenIdConnectParameterNames.MaxAge) ?? Options.MaxAge;