Class AuthProvider

    • Constructor Detail

      • AuthProvider

        public AuthProvider()
    • Method Detail

      • isSupportsEmailOTP

        public boolean isSupportsEmailOTP()
      • isSupportsSMSOTP

        public boolean isSupportsSMSOTP()
      • isSupportsSASOTP

        public boolean isSupportsSASOTP()
      • isSupportsVoiceOTP

        public boolean isSupportsVoiceOTP()
      • isSupportsOTPType

        public boolean isSupportsOTPType​(Set<OTPRequestType> types)
      • getAttributeMap

        public Map<String,​AuthProviderAttribute> getAttributeMap()
        Returns provider attributes as Map. Key of the map is attribute name. if you want to change attribute value, add new or remove attribute, don't use this map. use setProviderAttributeSet() property to change attribute instead.
      • getAttributeById

        public AuthProviderAttribute getAttributeById​(String id)
        Created By Anton Novikov in 4.1.9 13th Dec 2019
        Parameters:
        id - - id of attribute
        Returns:
        AuthProviderAttribute if there is attribute for given ID, otherwise - NULL
      • getAttribute

        public String getAttribute​(String name)
      • generateId2ValueAttributeMap

        public void generateId2ValueAttributeMap()
      • addAttribute

        public void addAttribute​(String attributeId,
                                 String value)