Previous Topic: Verifying Password Type CredentialsNext Topic: Fetching the PAM


Verifying the Authentication Tokens

The AuthMinder Authentication SDK provides an appropriate token to the end user after they authenticate successfully. The token is then presented to the AuthMinder Server, indicating that the user is authenticated and can be provided access to the protected resources.

By using the Authentication Web service, you can specify whether the token has to be returned after authentication or not. In addition, you can also specify the type of the token that must be returned after authentication. The verifyAuthToken method specifies the return token type and supports the following types of tokens:

AuthMinder Server can verify only the Native and One-Time tokens that are issued to the users. The authentication token must be verified in cases when you use the token for Single Sign-On, wherein you authenticate the user once and allow them to use multiple resources using the same authentication token.

To verify if a token is valid or not:

  1. (Optional) If you are implementing a plug-in, then invoke the setAdditionalInput() method in the AdditionalInput class to obtain an object that implements the class.

    See "Preparing Additional Input" for more information.

  2. Invoke the verifyAuthToken() method in Authentication class to verify the token of the user.

    This method returns an instance of the AuthTokenResponse interface, which provides the credential and transaction details.