com.supermap.server.config

Class OAuthConfig

  • java.lang.Object
    • com.supermap.server.config.OAuthConfig
  • All Implemented Interfaces:
    java.io.Serializable


    public class OAuthConfig
    extends java.lang.Object
    implements java.io.Serializable
    

    OAuth 2.0 configuration class.

    Since:
    7.0.1
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String buttonText
      The login button name displaying in the login interface Such as: QQ
      java.lang.String clientID
      The Appkey while applying for application.
      java.lang.String clientSecret
      The AppSecret while applying for application.
      boolean enabled
      Whether it is enabled or not.
      int id
      Configure ID
      java.lang.String loginIcon
      The login icon on the login interface.
      java.lang.String loginType
      The login type.
      java.lang.String redirectDomain
      The redirect domain.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      OAuthConfig copy() 
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public int id
        

        Configure ID

        Since:
        7.0.1
      • enabled

        public boolean enabled
        

        Whether it is enabled or not.

        Since:
        7.0.1
      • loginType

        public java.lang.String loginType
        

        The login type.

        Since:
        7.0.1
      • clientSecret

        public java.lang.String clientSecret
        

        The AppSecret while applying for application.

        Since:
        7.0.1
      • clientID

        public java.lang.String clientID
        

        The Appkey while applying for application.

        Since:
        7.0.1
      • redirectDomain

        public java.lang.String redirectDomain
        

        The redirect domain.

        Since:
        7.0.1
      • buttonText

        public java.lang.String buttonText
        

        The login button name displaying in the login interface Such as: QQ

        Since:
        7.1.0
      • loginIcon

        public java.lang.String loginIcon
        

        The login icon on the login interface. e.g., twitter_login.png. Note: The icons are placed in jar (./staticFiles/img)

        Since:
        7.1.0
    • Constructor Detail

      • OAuthConfig

        public OAuthConfig()
        
      • OAuthConfig

        public OAuthConfig(OAuthConfig oAuthConfig)
        
    • Method Detail

      • equals

        public boolean equals(java.lang.Object obj)
        
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        
        Overrides:
        hashCode in class java.lang.Object