Class AuthIdentificationManager


  • @Immutable
    public final class AuthIdentificationManager
    extends Object
    This is the main class for creating an IAuthToken from IAuthCredentials.
    Author:
    Philip Helger
    • Method Detail

      • validateLoginCredentialsAndCreateToken

        @Nonnull
        public static AuthIdentificationResult validateLoginCredentialsAndCreateToken​(@Nonnull
                                                                                      IAuthCredentials aCredentials)
        Validate the login credentials, try to resolve the subject and create a token upon success.
        Parameters:
        aCredentials - The credentials to validate. If null it is treated as error.
        Returns:
        Never null.