Class RealmFailedAuthenticationEvent

    • Constructor Detail

      • RealmFailedAuthenticationEvent

        public RealmFailedAuthenticationEvent​(RealmIdentity realmIdentity,
                                              Credential credential,
                                              Evidence evidence)
        Construct a new instance.
        realmIdentity - the realm identity of the failed authentication
        credential - the actual credential value from the authentication (may be null if not known)
        evidence - the evidence used to authenticate (may be null if not known or not applicable)
    • Method Detail

      • accept

        public <P,​R> R accept​(RealmEventVisitor<P,​R> visitor,
                                    P param)
        Description copied from class: RealmEvent
        Accept the given visitor, calling the method which is most applicable to this event type.
        accept in class RealmDefiniteOutcomeAuthenticationEvent
        Type Parameters:
        P - the visitor parameter type
        R - the visitor return type
        visitor - the visitor
        param - the parameter to pass to the visitor handleXxx method
        the value returned from the visitor handleXxx method
      • isSuccess

        public boolean isSuccess()
        Description copied from class: RealmAuthenticationEvent
        Determine if this authentication was definitely successful.
        Specified by:
        isSuccess in class RealmAuthenticationEvent
        true if the authentication was definitely successful, false if it was not definitely successful