Table of Contents

Class OidcClientSettingsExtension

Namespace
Arc4u.OAuth2.Extensions
Assembly
Arc4u.OAuth2.Client.Authentication.dll

Validation of the OidcClientSettingsOption.

public static class OidcClientSettingsExtension
Inheritance
OidcClientSettingsExtension
Inherited Members

Methods

ValidateOIdcClientSettings(IServiceCollection, Action<OidcClientSettingsOption>)

Validates the OpenID Connect client settings. Nothing is registered.

public static void ValidateOIdcClientSettings(this IServiceCollection services, Action<OidcClientSettingsOption> option)

Parameters

services IServiceCollection

The service collection.

option Action<OidcClientSettingsOption>

The action that configures the settings.

Exceptions

MissingFieldException

The provider id or the client id is empty, or there is no scope.