-
Notifications
You must be signed in to change notification settings - Fork 2
identity auth
spaceweasel edited this page Feb 16, 2016
·
1 revision
The Context's Identity
property holds information about the current user if they have been authenticated. The Authenticate()
method simply returns a boolean value of whether the Context holds an Identity
. There are many mechanisms for HTTP authentication (Basic, Digest, OAuth etc.), but by default, Mango performs no authentication, leaving it up to the user to implement whatever form of authentication they choose. Generally this would be performed using a PreHook function (see PreHooks and PostHooks for more information and an example of implementing HTTP Basic authentication).