/// <summary> /// Adds <see cref="AdobeIOAuthenticationHandler"/> to the specified /// <see cref="AuthenticationBuilder"/>, which enables AdobeIO 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 AdobeIO options.</param> /// <returns>The <see cref="AuthenticationBuilder"/>.</returns> public static AuthenticationBuilder AddAdobeIO( [NotNull] this AuthenticationBuilder builder, [NotNull] string scheme, [NotNull] Action <AdobeIOAuthenticationOptions> configuration) { return(builder.AddAdobeIO(scheme, AdobeIOAuthenticationDefaults.DisplayName, configuration)); }
protected internal override void RegisterAuthentication(AuthenticationBuilder builder) { builder.AddAdobeIO(options => { ConfigureDefaults(builder, options); }); }
/// <summary> /// Adds <see cref="AdobeIOAuthenticationHandler"/> to the specified /// <see cref="AuthenticationBuilder"/>, which enables AdobeIO authentication capabilities. /// </summary> /// <param name="builder">The authentication builder.</param> /// <param name="configuration">The delegate used to configure the OpenID 2.0 options.</param> /// <returns>The <see cref="AuthenticationBuilder"/>.</returns> public static AuthenticationBuilder AddAdobeIO( [NotNull] this AuthenticationBuilder builder, [NotNull] Action <AdobeIOAuthenticationOptions> configuration) { return(builder.AddAdobeIO(AdobeIOAuthenticationDefaults.AuthenticationScheme, configuration)); }
/// <summary> /// Adds <see cref="AdobeIOAuthenticationHandler"/> to the specified /// <see cref="AuthenticationBuilder"/>, which enables AdobeIO authentication capabilities. /// </summary> /// <param name="builder">The authentication builder.</param> /// <returns>The <see cref="AuthenticationBuilder"/>.</returns> public static AuthenticationBuilder AddAdobeIO([NotNull] this AuthenticationBuilder builder) { return(builder.AddAdobeIO(AdobeIOAuthenticationDefaults.AuthenticationScheme, options => { })); }