Package tigase.db

Class AuthRepository.SingleCredential

    • Method Detail

      • getEntryForMechanism

        public Credentials.Entry getEntryForMechanism​(java.lang.String mechanism)
        Description copied from interface: Credentials
        Find a credential for specified mechanism
        Specified by:
        getEntryForMechanism in interface Credentials
        Returns:
        instance of an entry if available or null
      • getFirst

        public Credentials.Entry getFirst()
        Description copied from interface: Credentials
        Returns first available instance of credentials entry
        Specified by:
        getFirst in interface Credentials
        Returns:
        first available instance of credentials entry
      • canLogin

        public boolean canLogin()
        Description copied from interface: Credentials
        Checks if account can perform logging-in
        Specified by:
        canLogin in interface Credentials
      • getUser

        public BareJID getUser()
        Description copied from interface: Credentials
        Returns bare jid of an account
        Specified by:
        getUser in interface Credentials
        Returns:
        bare jid of an account
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object