Update README.md Project: http://git-wip-us.apache.org/repos/asf/usergrid-swift/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid-swift/commit/3ae76c36 Tree: http://git-wip-us.apache.org/repos/asf/usergrid-swift/tree/3ae76c36 Diff: http://git-wip-us.apache.org/repos/asf/usergrid-swift/diff/3ae76c36
Branch: refs/heads/master Commit: 3ae76c364b96cea34e559a32acb7bcf5d10f03c4 Parents: 51443d5 Author: Robert Walsh <[email protected]> Authored: Wed Nov 9 21:03:46 2016 -0600 Committer: GitHub <[email protected]> Committed: Wed Nov 9 21:03:46 2016 -0600 ---------------------------------------------------------------------- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid-swift/blob/3ae76c36/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 4b062e8..4bd1dd7 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ At times it is desireable to have complete, granular control over the authentica To facilitate this, the passthrough function `.usingAuth()` allows you to pre-define the auth context of the next API call. ```swift -// assume Usergrid.authFallback = .None +// assume Usergrid.authMode = .None Usergrid.usingAuth(Usergrid.appAuth!).POST("roles/guest/permissions", jsonBody: ["permission" : "get,post,put,delete:/**"] ) { response in // here we've temporarily used the client credentials to modify permissions
