File: Services\AccessTokenResultStatus.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.
 
namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication;
 
/// <summary>
/// Represents the possible results from trying to acquire an access token.
/// </summary>
public enum AccessTokenResultStatus
{
    /// <summary>
    /// The token was successfully acquired.
    /// </summary>
    Success,
 
    /// <summary>
    /// A redirect is needed in order to provision the token.
    /// </summary>
    RequiresRedirect,
}