IAuthenticationProviderAuthenticate Method (String, Int64) |
The implementing class should authenticate the user using the provided token,
create and populate a
UserContext object adding appropriate
UserProfiles items to its
Profiles
collection.
If the authentication fails, the implementing class can return a null UserContext object or throw a custom exception.
Namespace:
NetQuarry.Security
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax UserContext Authenticate(
string token,
long flags
)
Function Authenticate (
token As String,
flags As Long
) As UserContext
Parameters
- token
- Type: SystemString
The user token - flags
- Type: SystemInt64
Modifier flags (from AuthenticationFlags).
Return Value
Type:
UserContextA populated UserContext object
See Also