File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
play2-oauth2-provider/src/main/scala/scalaoauth2/provider Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -128,17 +128,6 @@ object OAuth2Controller extends Controller with OAuth2Provider {
128128}
129129```
130130
131- NOTE: If your controller supports returning synchronous result, use ``` await ``` method which is package object of scalaoauth2.provider.
132-
133- ``` scala
134- import scalaoauth2 .provider ._
135- object OAuth2Controller extends Controller with OAuth2Provider {
136- def accessToken = Action { implicit request =>
137- await(issueAccessToken(new MyDataHandler ()))
138- }
139- }
140- ```
141-
142131Then, assign a route to the controller that OAuth clients will access to.
143132
144133```
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ package object provider {
4242 * @param timeout maximum wait time
4343 * @return Await and return the result.
4444 */
45+ @ deprecated(" Use Await in your own" , " 0.13.0" )
4546 def await (f : Future [Result ], timeout : Duration = 60 .seconds): Result = Await .result(f, timeout)
4647
4748}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Keys._
44object ScalaOAuth2Build extends Build {
55
66 lazy val _organization = " com.nulab-inc"
7- lazy val _version = " 0.13.0 "
7+ lazy val _version = " 0.13.1-SNAPSHOT "
88 lazy val _playVersion = " 2.3.7"
99
1010 val _scalaVersion = " 2.10.5"
You can’t perform that action at this time.
0 commit comments