class OAuth2Config extends AnyRef
OAuth2Config
config oauth2 in project config file.
<oauth2 host="http://sso.lixin.edu.cn"> <clientId>javaSDKexample</clientId> <clientSecret>831ecb0ae1f56b711ab4e944cf0981a3</clientSecret> <callbackURL>http://localhost:8080/example/callback.jsp <authorizeURL>/authorize.php</authorizeURL> <accessTokenURL>/token.php</accessTokenURL> <resourceURL>/resource.php</resourceURL> <logoutURL>/logout.php?access_token=${access_token}&response_type=token&redirect_uri=http://sso.lixin.edu.cn/index.html </oauth2>
Example:
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OAuth2Config
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new OAuth2Config()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var accessTokenURL: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var authorizeURL: String
- var callbackURL: String
- var clientId: String
- var clientSecret: String
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var logoutURL: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var resourceURL: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )