Interface IAuthIdentification

  • All Superinterfaces:
    com.helger.commons.state.ISuccessIndicator
    All Known Implementing Classes:
    AuthIdentification

    public interface IAuthIdentification
    extends com.helger.commons.state.ISuccessIndicator
    The interface representing the authentication result of an IAuthSubject (e.g. user) at a given date and time.
    Author:
    Philip Helger
    • Method Detail

      • getAuthSubject

        @Nullable
        IAuthSubject getAuthSubject()
        Returns:
        The identified subject. May be null if no subject matched the credentials.
      • isSuccess

        default boolean isSuccess()
        Specified by:
        isSuccess in interface com.helger.commons.state.ISuccessIndicator
      • getIdentificationDateTime

        @Nonnull
        LocalDateTime getIdentificationDateTime()
        Method to retrieve the time stamp of when this object was created.
        Returns:
        The date and time the identification occurred. Never null.