OAuthAuthenticatedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Provides data for the Authenticated event. The user is signed in; switch views here.
4.2.0+- C#
- VB.NET
public class OAuthAuthenticatedEventArgs : EventArgs
Public Class OAuthAuthenticatedEventArgs
Inherits EventArgs
Properties
Identity
OAuthIdentity: Returns the signed-in identity.
IsApplicationUser
Boolean: Returns whether this component assigned User.
Principal
IPrincipal: Returns the principal that was assigned: the OAuthPrincipal the component built, or the replacement an Authenticating handler supplied. After this event it is reachable as User when IsApplicationUser is true; the component keeps no public reference to it.
Provider
OAuthProvider: Returns the provider that authenticated the user.
Source
OAuthCallbackSource: Returns how the answer reached the component. Redirect means the user interface was re-rendered and, when the session had been evicted, that this is a brand-new component tree in a brand-new session.
Used By
| Name | Description |
|---|---|
| OAuthAuthenticatedEventHandler | Represents the method that handles the Authenticated event. 4.2.0+ |