OAuthAuthenticationProviderExtensionsAddOAuthAuthenticationProvider(IServiceCollection) Method

Adds the OAuth authentication provider as a singleton service using the default identity and options.

Definition

Namespace: Gemstone.Security.AuthenticationProviders
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.189 -- Release Build+5ff2cbad1149d70bcda1f69b4536585fe956f47c
public static IServiceCollection AddOAuthAuthenticationProvider(
	this IServiceCollection services
)

Parameters

services  IServiceCollection
The collection of services

Return Value

IServiceCollection
The collection of services.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IServiceCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also