15 references to ApiAuthorizationProviderOptions
Microsoft.AspNetCore.Components.WebAssembly.Authentication (15)
Options\DefaultApiAuthorizationOptionsConfiguration.cs (3)
8
internal sealed class DefaultApiAuthorizationOptionsConfiguration : IPostConfigureOptions<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>>
14
public void Configure(RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
> options)
24
public void PostConfigure(string? name, RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
> options)
WebAssemblyAuthenticationServiceCollectionExtensions.cs (12)
158
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
168
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
180
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
195
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
201
this IServiceCollection services, Action<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>> configure)
207
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
214
this IServiceCollection services, Action<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>> configure)
221
/// Adds support for authentication for SPA applications using <see cref="
ApiAuthorizationProviderOptions
"/> and the <see cref="RemoteAuthenticationState"/>.
229
this IServiceCollection services, Action<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>> configure)
238
Action<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>>? configure,
244
ServiceDescriptor.Scoped<IPostConfigureOptions<RemoteAuthenticationOptions<
ApiAuthorizationProviderOptions
>>, DefaultApiAuthorizationOptionsConfiguration>(_ =>
247
services.AddRemoteAuthentication<TRemoteAuthenticationState, TAccount,
ApiAuthorizationProviderOptions
>(configure);