/// <summary> /// Extension method for SignOut using the <see cref="AuthenticationOptions.DefaultSignOutScheme"/>. /// </summary> /// <param name="context">The <see cref="ProtoContext"/> context.</param> /// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param> /// <returns>The task.</returns> public static Task SignOutAsync(this ProtoContext context, AuthenticationProperties properties) => context.SignOutAsync(scheme: null, properties: properties);
/// <summary> /// Extension method for SignOut. /// </summary> /// <param name="context">The <see cref="ProtoContext"/> context.</param> /// <param name="scheme">The name of the authentication scheme.</param> /// <returns>The task.</returns> public static Task SignOutAsync(this ProtoContext context, string scheme) => context.SignOutAsync(scheme, properties: null);
/// <summary> /// Extension method for SignOut using the <see cref="AuthenticationOptions.DefaultSignOutScheme"/>. /// </summary> /// <param name="context">The <see cref="ProtoContext"/> context.</param> /// <returns>The task.</returns> public static Task SignOutAsync(this ProtoContext context) => context.SignOutAsync(scheme: null, properties: null);