AccessTokenNotAvailableException Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize a new instance of AccessTokenNotAvailableException.
public:
AccessTokenNotAvailableException(Microsoft::AspNetCore::Components::NavigationManager ^ navigation, Microsoft::AspNetCore::Components::WebAssembly::Authentication::AccessTokenResult ^ tokenResult, System::Collections::Generic::IEnumerable<System::String ^> ^ scopes);
public AccessTokenNotAvailableException (Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult tokenResult, System.Collections.Generic.IEnumerable<string> scopes);
public AccessTokenNotAvailableException (Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult tokenResult, System.Collections.Generic.IEnumerable<string>? scopes);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenNotAvailableException : Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult * seq<string> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenNotAvailableException
Public Sub New (navigation As NavigationManager, tokenResult As AccessTokenResult, scopes As IEnumerable(Of String))
Parameters
- navigation
- NavigationManager
The NavigationManager.
- tokenResult
- AccessTokenResult
The AccessTokenResult.
- scopes
- IEnumerable<String>
The scopes.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for