Click or drag to resize

IAuthenticationProviderAuthenticate Method

Overload List
  NameDescription
Public methodAuthenticate(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.
Public methodAuthenticate(String, String, NameValueCollection, Int64)
The implementing class should authenticate the user, create and populate a UserContext object adding UserProfiles items to its Profiles collection when an item in the profileRoles collection is supported for this user. If the authentication fails, the implementing class can return a null UserContext object or throw a custom exception. Note that you can use BuildProfileRolesCollection(IAppContext) to get the full set of available roles for the current application.
Top
See Also