Class TotpBean

    • Constructor Detail

      • TotpBean

        public TotpBean​(org.keycloak.models.KeycloakSession session,
                        org.keycloak.models.RealmModel realm,
                        org.keycloak.models.UserModel user,
                        javax.ws.rs.core.UriBuilder uriBuilder)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • getTotpSecret

        public String getTotpSecret()
      • getTotpSecretEncoded

        public String getTotpSecretEncoded()
      • getTotpSecretQrCode

        public String getTotpSecretQrCode()
      • getManualUrl

        public String getManualUrl()
      • getQrUrl

        public String getQrUrl()
      • getPolicy

        public org.keycloak.models.OTPPolicy getPolicy()
      • getSupportedApplications

        public List<String> getSupportedApplications()
      • getOtpCredentials

        public List<org.keycloak.credential.CredentialModel> getOtpCredentials()