You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Message' => 'You have chosen to subscribe to the topic arn:aws:sns:us-west-2:123456789012:MyTopic.\nTo confirm the subscription, visit the SubscribeURL included in this message.',
88
+
'SubscribeURL' => 'https://example.com',
89
+
'Timestamp' => now()->toDateTimeString(),
90
+
'SignatureVersion' => '1',
91
+
'Signature' => true,
92
+
'SigningCertURL' => static::$validCertUrl,
93
+
], $custom);
94
+
95
+
$message['Signature'] = $this->getSignature(
96
+
$validator->getStringToSign(newMessage($message))
97
+
);
98
+
99
+
return$message;
100
+
}
101
+
102
+
/**
103
+
* Get an example notification payload for testing.
'Message' => 'You have chosen to subscribe to the topic arn:aws:sns:us-west-2:123456789012:MyTopic.\nTo confirm the subscription, visit the SubscribeURL included in this message.',
106
-
'SubscribeURL' => 'https://example.com',
107
-
'Timestamp' => now()->toDateTimeString(),
108
-
'SignatureVersion' => '1',
109
-
'Signature' => true,
110
-
'SigningCertURL' => self::VALID_CERT_URL,
111
-
], $custom);
112
-
113
-
$message['Signature'] = $this->getSignature(
114
-
$validator->getStringToSign(newMessage($message))
115
-
);
116
-
117
-
return$message;
118
-
}
119
-
120
-
/**
121
-
* Get an example notification payload for testing.
0 commit comments