src/AspNet.Security.OAuth.Odnoklassniki/OdnoklassnikiAuthenticationExtensions.cs
/// <summary>
/// Adds <see cref="OdnoklassnikiAuthenticationHandler"/> to the specified
/// <see cref="AuthenticationBuilder"/>, which enables Odnoklassniki authentication capabilities.
/// </summary>
/// <param name="builder">The authentication builder.</param>
/// <param name="scheme">The authentication scheme associated with this instance.</param>
/// <param name="configuration">The delegate used to configure the Odnoklassniki options.</param>
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
Adds  to the specified
, which enables Odnoklassniki authentication capabilities.
Adds to the specified which enables Odnoklassniki authentication capabilities .
public static AuthenticationBuilder AddOdnoklassniki(
        [NotNull] this AuthenticationBuilder builder,
        [NotNull] string scheme,
        [NotNull] Action<OdnoklassnikiAuthenticationOptions> configuration)
    {
        return builder.AddOdnoklassniki(scheme, OdnoklassnikiAuthenticationDefaults.DisplayName, configuration);
    }
public static AuthenticationBuilder AddOdnoklassniki ( [ NotNull ] this AuthenticationBuilder builder , [ NotNull ] string scheme , [ NotNull ] Action < OdnoklassnikiAuthenticationOptions > configuration ) { return builder . AddOdnoklassniki ( scheme , OdnoklassnikiAuthenticationDefaults . DisplayName , configuration ) ; }
Adds  to the specified
, which enables Odnoklassniki authentication capabilities.
Adds to the specified which enables Odnoklassniki authentication capabilities .
None
this
[NotNull]
string
[NotNull]
Action<OdnoklassnikiAuthenticationOptions>
[NotNull]
builder
The authentication builder.
The authentication builder .
scheme
The authentication scheme associated with this instance.
The authentication scheme associated with this instance .
configuration
The delegate used to configure the Odnoklassniki options.
The delegate used to configure the Odnoklassniki options .