Skip to main content
Version: 4.2

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+
public class OAuthAuthenticatedEventArgs : EventArgs

Properties​

Instance member Identity​

OAuthIdentity: Returns the signed-in identity.

Instance member IsApplicationUser​

Boolean: Returns whether this component assigned User.

Instance member 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.

Instance member Provider​

OAuthProvider: Returns the provider that authenticated the user.

Instance member 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​

NameDescription
OAuthAuthenticatedEventHandlerRepresents the method that handles the Authenticated event.
4.2.0+