| File: Models\RemoteAuthenticationStatus.cs | Web Access |
| Project: src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj (Microsoft.AspNetCore.Components.WebAssembly.Authentication) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json.Serialization; namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication; /// <summary> /// Represents the status of an authentication operation. /// </summary> [JsonConverter(typeof(JsonStringEnumConverter<RemoteAuthenticationStatus>))] public enum RemoteAuthenticationStatus { /// <summary> /// The application is going to be redirected. /// </summary> Redirect, /// <summary> /// The authentication operation completed successfully. /// </summary> Success, /// <summary> /// There was an error performing the authentication operation. /// </summary> Failure, /// <summary> /// The operation in the current navigation context has completed. This signals that the application running on the /// current browser context is about to be shut down and no other work is required. /// </summary> OperationCompleted, }