Class Configuration


  • public class Configuration
    extends Object
    Configuration used by Sinch Client
    • Method Detail

      • getOAuthServer

        public ServerConfiguration getOAuthServer()
        OAuth server
        Returns:
        OAuth Server configuration to be used
        Since:
        1.0
      • getOAuthUrl

        public String getOAuthUrl()
        OAuth URL
        Returns:
        OAuth Server URL
        Since:
        1.0
      • getNumbersServer

        public ServerConfiguration getNumbersServer()
        Numbers Server Configuration
        Returns:
        Numbers Server configuration to be used
        Since:
        1.0
      • getNumbersUrl

        public String getNumbersUrl()
        Numbers URL
        Returns:
        Numbers Server URL
        Since:
        1.0
      • getSmsServer

        public ServerConfiguration getSmsServer()
        SMS Server Configuration
        Returns:
        SMS Server configuration to be used
        Since:
        1.0
      • getSmsUrl

        public String getSmsUrl()
        SMS URL
        Returns:
        SMS Server URL
        Since:
        1.0
      • getVerificationServer

        public ServerConfiguration getVerificationServer()
        Verification Server Configuration
        Returns:
        Verification Server configuration to be used
        Since:
        1.0
      • getVerificationUrl

        public String getVerificationUrl()
        Verification URL
        Returns:
        Verification Server URL
        Since:
        1.0
      • getVoiceRegion

        public VoiceRegion getVoiceRegion()
        Voice region
        Returns:
        Selected Voice Region
        Since:
        1.0
      • getVoiceUrl

        public String getVoiceUrl()
        Voice URL
        Returns:
        Voice Server URL
        Since:
        1.0
      • getVoiceServer

        public ServerConfiguration getVoiceServer()
        Voice Server Configuration
        Returns:
        Voice Server configuration to be used
        Since:
        1.0
      • getVoiceApplicationManagementUrl

        public String getVoiceApplicationManagementUrl()
        Voice Application Management URL
        Returns:
        Voice Application Management URL
        Since:
        1.0
      • getVoiceApplicationManagementServer

        public ServerConfiguration getVoiceApplicationManagementServer()
        Voice Application Management Configuration
        Returns:
        Voice Application Management to be used
        Since:
        1.0
      • getApplicationKey

        public String getApplicationKey()
        Application key to be used for Verification and Voice services

        Use application secret in place of unified configuration for authentication (see Sinch dashboard for details) These credentials are related to Verification & Voice Apps

        Returns:
        Application key
        Since:
        1.0
        See Also:
        Sinch Documentation
      • getApplicationSecret

        public String getApplicationSecret()
        Application secret to be used for Verification and Voice services

        Use application secret in place of unified configuration for authentication (see Sinch dashboard for details) These credentials are related to Verification & Voice Apps

        Returns:
        Application key
        Since:
        1.0
        See Also:
        Sinch Documentation