Interface CredentialAuth<T extends Credentials>

    • Method Detail

      • credentialClass

        @NonNull Class<T> credentialClass()
        Return the credential class that is required by this services. This acts as a type check allowing discovery of the type at runtime.

        Note: this method should be defined in subclasses specializations for a particular credential class as a default (in case of an interface) or a final (in case of a class) method.

        Returns:
        Required credential class