Created
September 10, 2019 11:04
-
-
Save ali-cs/aafcd1f87d2ee5b3070dac28b877d2e6 to your computer and use it in GitHub Desktop.
MqttConstants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct MqttConstants { | |
static let endPoint = "wss://a1pvqgswwsbwvy-ats.iot.eu-west-1.amazonaws.com/mqtt" // "wss:<IotEndpointATS>/mqtt | |
static let IdentityPool = "eu-west-1:9b8ca290-c620-452c-120c-77c6c442v6fd" // <IdentityPool> | |
static let UserPool = "<eu-west-1_bHTWQN1lI>" // <UserPool> | |
static let kMQTTMKey = "MQTTManager" // change to any key as your like :) | |
static let mqttCognitoKey = "cognito-idp.\(awsRegionString).amazonaws.com/\(UserPool)" // "cognito-idp.<REGION>.amazonaws.com/<UserPool> | |
static let awsRegion = AWSRegionType.EUWest1 | |
static let awsRegionString = "eu-west-1" | |
static let clientSecret = "JWT Token" // place your client secret here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment