src/AspNet.Security.OAuth.Notion/NotionAuthenticationExtensions.cs
/// <summary>
/// Adds <see cref="NotionAuthenticationHandler"/> to the specified
/// <see cref="AuthenticationBuilder"/>, which enables Notion authentication capabilities.
/// </summary>
/// <param name="builder">The authentication builder.</param>
/// <param name="scheme">The authentication scheme associated with this instance.</param>
/// <param name="caption">The optional display name associated with this instance.</param>
/// <param name="configuration">The delegate used to configure the Notion options.</param>
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
Adds  to the specified
, which enables Notion authentication capabilities.
Adds to the specified which enables Notion authentication capabilities .
public static AuthenticationBuilder AddNotion(
        [NotNull] this AuthenticationBuilder builder,
        [NotNull] string scheme,
        [CanBeNull] string caption,
        [NotNull] Action<NotionAuthenticationOptions> configuration)
    {
        return builder.AddOAuth<NotionAuthenticationOptions, NotionAuthenticationHandler>(scheme, caption, configuration);
    }
public static AuthenticationBuilder AddNotion ( [ NotNull ] this AuthenticationBuilder builder , [ NotNull ] string scheme , [ CanBeNull ] string caption , [ NotNull ] Action < NotionAuthenticationOptions > configuration ) { return builder . AddOAuth < NotionAuthenticationOptions , NotionAuthenticationHandler > ( scheme , caption , configuration ) ; }
Adds  to the specified
, which enables Notion authentication capabilities.
Adds to the specified which enables Notion authentication capabilities .
None
this
[NotNull]
<not_specific>
string
[CanBeNull]
<not_specific>
Action<NotionAuthenticationOptions>
[NotNull]
<not_specific>
builder
<not_specific>
The authentication builder.
The authentication builder .
scheme
<not_specific>
The authentication scheme associated with this instance.
The authentication scheme associated with this instance .
caption
<not_specific>
The optional display name associated with this instance.
The optional display name associated with this instance .
configuration
<not_specific>
The delegate used to configure the Notion options.
The delegate used to configure the Notion options .