From 2e60a53b43dec74d9fa9a2456d32cda349614811 Mon Sep 17 00:00:00 2001 From: gakuzzzz Date: Wed, 9 Mar 2016 01:49:23 +0900 Subject: [PATCH] changed session key name to protected. refs #161 --- .../jp/t2v/lab/play2/auth/social/core/OAuth10aController.scala | 2 +- .../jp/t2v/lab/play2/auth/social/core/OAuth2Controller.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth10aController.scala b/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth10aController.scala index 69385fe..217cf85 100644 --- a/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth10aController.scala +++ b/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth10aController.scala @@ -14,7 +14,7 @@ trait OAuth10aController extends Controller with OAuthController { protected val authenticator: OAuth10aAuthenticator - private val RequestTokenSecretKey = "play.social.requestTokenSecret" + protected val RequestTokenSecretKey = "play.social.requestTokenSecret" def login = AsyncStack(ExecutionContextKey -> OAuthExecutionContext) { implicit request => implicit val ec = StackActionExecutionContext diff --git a/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth2Controller.scala b/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth2Controller.scala index c8b1dd8..ae67cf6 100644 --- a/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth2Controller.scala +++ b/social/src/main/scala/jp/t2v/lab/play2/auth/social/core/OAuth2Controller.scala @@ -15,7 +15,7 @@ trait OAuth2Controller extends Controller with OAuthController { self: OptionalA protected val authenticator: OAuth2Authenticator - private val OAuth2StateKey = "play.auth.social.oauth2.state" + protected val OAuth2StateKey = "play.auth.social.oauth2.state" // TODO scope is optional in some services // TODO some services have more optional parameter