File tree Expand file tree Collapse file tree 2 files changed +0
-81
lines changed
play2-oauth2-provider/src/main/scala/scalaoauth2/provider Expand file tree Collapse file tree 2 files changed +0
-81
lines changed Original file line number Diff line number Diff line change @@ -167,36 +167,3 @@ trait OAuth2TokenEndpointProvider extends OAuth2BaseProvider {
167167 * }}}
168168 */
169169trait OAuth2Provider extends OAuth2ProtectedResourceProvider with OAuth2TokenEndpointProvider
170-
171- /**
172- * OAuth2AsyncProvider supports issue access token and authorize in asynchronous.
173- *
174- * <h3>Create controller for issue access token</h3>
175- * @example {{{
176- * object OAuth2Controller extends Controller with OAuth2AsyncProvider {
177- * def accessToken = Action.async { implicit request =>
178- * issueAccessToken(new MyDataHandler())
179- * }
180- * }
181- * }}}
182- *
183- * <h3>Register routes</h3>
184- * @example {{{
185- * POST /oauth2/access_token controllers.OAuth2Controller.accessToken
186- * }}}
187- *
188- * <h3>Authorized</h3>
189- * @example {{{
190- * import scalaoauth2.provider._
191- * object BookController extends Controller with OAuth2AsyncProvider {
192- * def list = Action.async { implicit request =>
193- * authorize(new MyDataHandler()) { authInfo =>
194- * val user = authInfo.user // User is defined on your system
195- * // access resource for the user
196- * }
197- * }
198- * }
199- * }}}
200- */
201- @ deprecated(" Use OAuth2Provider" , " 0.12.0" )
202- trait OAuth2AsyncProvider extends OAuth2Provider
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments