Package com.auth0.json.mgmt.guardian
Class SNSFactorProvider
java.lang.Object
com.auth0.json.mgmt.guardian.SNSFactorProvider
Class that represents a Guardian's push-notification Factor Provider for Amazon's Simple Notification Service (SNS).
Related to the
GuardianEntity entity.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the Amazon Web Services access key id.Getter for the Amazon Web Services region.Getter for the Amazon Web Services secret access key.Getter for the Simple Notification Service Apple Push Notification service platform application Amazon Resource Name.Getter for the Simple Notification Service Google Cloud Messaging platform application Amazon Resource Name.
-
Constructor Details
-
SNSFactorProvider
public SNSFactorProvider(String awsAccessKeyId, String awsSecretAccessKey, String awsRegion, String snsAPNSPlatformApplicationArn, String snsGCMPlatformApplicationArn) Creates a SNS settings object- Parameters:
awsAccessKeyId- the Amazon Web Services access key id.awsSecretAccessKey- the Amazon Web Services secret access key.awsRegion- the Amazon Web Services region.snsAPNSPlatformApplicationArn- the Apple Push Notification Service platform application Amazon Resource Name.snsGCMPlatformApplicationArn- the Google Cloud Messaging platform application Amazon Resource Name.
-
-
Method Details
-
getAWSAccessKeyId
Getter for the Amazon Web Services access key id.- Returns:
- the AWS access key id.
-
getAWSSecretAccessKey
Getter for the Amazon Web Services secret access key.- Returns:
- the AWS secret access key.
-
getAWSRegion
Getter for the Amazon Web Services region.- Returns:
- the AWS region.
-
getSNSAPNSPlatformApplicationARN
Getter for the Simple Notification Service Apple Push Notification service platform application Amazon Resource Name.- Returns:
- the SNS APNs ARN.
-
getSNSGCMPlatformApplicationARN
Getter for the Simple Notification Service Google Cloud Messaging platform application Amazon Resource Name.- Returns:
- the SNS GCM ARN.
-