Class RealmAuthenticationEvent

    • Constructor Detail

      • RealmAuthenticationEvent

        protected RealmAuthenticationEvent​(RealmIdentity realmIdentity)
        Construct a new instance.
        realmIdentity - the realm identity of the authentication event
    • Method Detail

      • getRealmIdentity

        public final RealmIdentity getRealmIdentity()
        Get the realm identity.
        the realm identity
      • 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 RealmEvent
        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 abstract boolean isSuccess()
        Determine if this authentication was definitely successful.
        true if the authentication was definitely successful, false if it was not definitely successful
      • isFailure

        public abstract boolean isFailure()
        Determine if this authentication definitely failed.
        true if the authentication definitely failed, false if it did not definitely fail