1 <?xml version="1.0"?>
\r
4 <name>Microsoft.AspNetCore.Components.Authorization</name>
\r
7 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState">
\r
9 Provides information about the currently authenticated user, if any.
\r
12 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthenticationState.#ctor(System.Security.Claims.ClaimsPrincipal)">
\r
14 Constructs an instance of <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/>.
\r
16 <param name="user">A <see cref="T:System.Security.Claims.ClaimsPrincipal"/> representing the user.</param>
\r
18 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthenticationState.User">
\r
20 Gets a <see cref="T:System.Security.Claims.ClaimsPrincipal"/> that describes the current user.
\r
23 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider">
\r
25 Provides information about the authentication state of the current user.
\r
28 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.GetAuthenticationStateAsync">
\r
30 Asynchronously gets an <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/> that describes the current user.
\r
32 <returns>A task that, when resolved, gives an <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/> instance that describes the current user.</returns>
\r
34 <member name="E:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.AuthenticationStateChanged">
\r
36 An event that provides notification when the <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/>
\r
37 has changed. For example, this event may be raised if a user logs in or out.
\r
40 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.NotifyAuthenticationStateChanged(System.Threading.Tasks.Task{Microsoft.AspNetCore.Components.Authorization.AuthenticationState})">
\r
42 Raises the <see cref="E:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.AuthenticationStateChanged"/> event.
\r
44 <param name="task">A <see cref="T:System.Threading.Tasks.Task"/> that supplies the updated <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/>.</param>
\r
46 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler">
\r
48 A handler for the <see cref="E:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.AuthenticationStateChanged"/> event.
\r
50 <param name="task">A <see cref="T:System.Threading.Tasks.Task"/> that supplies the updated <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/>.</param>
\r
52 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView">
\r
54 Combines the behaviors of <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthorizeView"/> and <see cref="T:Microsoft.AspNetCore.Components.RouteView"/>,
\r
55 so that it displays the page matching the specified route but only if the user
\r
56 is authorized to see it.
\r
58 Additionally, this component supplies a cascading parameter of type <see cref="T:System.Threading.Tasks.Task`1"/>,
\r
59 which makes the user's current authentication state available to descendants.
\r
62 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView.NotAuthorized">
\r
64 The content that will be displayed if the user is not authorized.
\r
67 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView.Authorizing">
\r
69 The content that will be displayed while asynchronous authorization is in progress.
\r
72 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView.Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)">
\r
75 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthorizeView">
\r
77 Displays differing content depending on the user's authorization status.
\r
80 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeView.#ctor">
\r
82 Constructs an instance of <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthorizeView"/>.
\r
85 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeView.Policy">
\r
87 The policy name that determines whether the content can be displayed.
\r
90 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeView.Roles">
\r
92 A comma delimited list of roles that are allowed to display the content.
\r
95 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeView.GetAuthorizeData">
\r
97 Gets the data used for authorization.
\r
100 <member name="T:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore">
\r
102 A base class for components that display differing content depending on the user's authorization status.
\r
105 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.ChildContent">
\r
107 The content that will be displayed if the user is authorized.
\r
110 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.NotAuthorized">
\r
112 The content that will be displayed if the user is not authorized.
\r
115 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.Authorized">
\r
117 The content that will be displayed if the user is authorized.
\r
118 If you specify a value for this parameter, do not also specify a value for <see cref="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.ChildContent"/>.
\r
121 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.Authorizing">
\r
123 The content that will be displayed while asynchronous authorization is in progress.
\r
126 <member name="P:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.Resource">
\r
128 The resource to which access is being controlled.
\r
131 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)">
\r
134 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.OnParametersSetAsync">
\r
137 <member name="M:Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.GetAuthorizeData">
\r
139 Gets the data required to apply authorization rules.
\r
142 <member name="T:Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider">
\r
144 An interface implemented by <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider"/> classes that can receive authentication
\r
145 state information from the host environment.
\r
148 <member name="M:Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState(System.Threading.Tasks.Task{Microsoft.AspNetCore.Components.Authorization.AuthenticationState})">
\r
150 Supplies updated authentication state data to the <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider"/>.
\r
152 <param name="authenticationStateTask">A task that resolves with the updated <see cref="T:Microsoft.AspNetCore.Components.Authorization.AuthenticationState"/>.</param>
\r
154 <member name="P:Microsoft.AspNetCore.Components.Authorization.CascadingAuthenticationState.ChildContent">
\r
156 The content to which the authentication state should be provided.
\r