principal
Sets an authenticated principal for this context.
Sets an authenticated principal for this context from provider with name provider.
Retrieves a principal of the type T from provider with name provider, if any.
Retrieves a principal of the type T, if any.
Deprecated
Use accessor methods instead
Retrieves an authenticated principal, or returns null
if a user isn't authenticated.