Accessing push notifications
From DreamFactory
Line 1: | Line 1: | ||
− | + | === Tutorial === | |
Setting up role-based access to push notifications. | Setting up role-based access to push notifications. | ||
− | + | === Background === | |
Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a push notification service in the 'Services' tab, no push notification endpoints are accessible by default (unless you are a DreamFactory Admin). | Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a push notification service in the 'Services' tab, no push notification endpoints are accessible by default (unless you are a DreamFactory Admin). | ||
Line 9: | Line 9: | ||
You can give access to a push notification service by following the example below. Note that Amazon SNS is currently supported. More push notification services will be supported in the future. | You can give access to a push notification service by following the example below. Note that Amazon SNS is currently supported. More push notification services will be supported in the future. | ||
− | + | === Example - Enable HTTP access to Amazon SNS. === | |
− | 1. Log into the DreamFactory admin console as an Admin. | + | :1. Log into the DreamFactory admin console as an Admin. |
− | 2. Click on 'Roles' > 'Create'. | + | :2. Click on 'Roles' > 'Create'. |
− | 3. In the 'Access' tab, select SNS for 'Service' (or whatever name you gave to your SNS connection in the Services tab), * for 'Component' (* simply denotes access to all SNS endpoints), HTTP verbs for 'Access', and API for 'Requestor'.<br><br> | + | :3. In the 'Access' tab, select SNS for 'Service' (or whatever name you gave to your SNS connection in the Services tab), * for 'Component' (* simply denotes access to all SNS endpoints), HTTP verbs for 'Access', and API for 'Requestor'.<br><br> |
[[File:Roles-sns.png|1000px]] | [[File:Roles-sns.png|1000px]] |
Latest revision as of 18:23, 3 February 2016
Tutorial
Setting up role-based access to push notifications.
Background
Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a push notification service in the 'Services' tab, no push notification endpoints are accessible by default (unless you are a DreamFactory Admin).
You can give access to a push notification service by following the example below. Note that Amazon SNS is currently supported. More push notification services will be supported in the future.
Example - Enable HTTP access to Amazon SNS.
- 1. Log into the DreamFactory admin console as an Admin.
- 2. Click on 'Roles' > 'Create'.
- 3. In the 'Access' tab, select SNS for 'Service' (or whatever name you gave to your SNS connection in the Services tab), * for 'Component' (* simply denotes access to all SNS endpoints), HTTP verbs for 'Access', and API for 'Requestor'.