-
Notifications
You must be signed in to change notification settings - Fork 0
Advanced Uses
Decagon edited this page Dec 20, 2014
·
3 revisions
If you need your UI to respond to the user's input (for example, hiding fields if the user is using a facebook token) use this method to determine what the authentication type is in real time.
RabbitAuth.GetAuthType(string username, string password)
will return a value such as AuthenticationType.**Service**
. For example, AuthenticationType.ArmorGames
for Armor Games authentication.
This allows users to avoid filling in fields that they do not need to fill in, or worry that they need to fill in something but are not sure what needs to go there.