package oauth
- Alphabetic
- Public
- All
Type Members
-
final
case class
AppAccessToken
(oauthTokenType: String) extends FacebookTokenType with Product with Serializable
Application access token - https://developers.facebook.com/docs/facebook-login/access-tokens/#apptokens
Application access token - https://developers.facebook.com/docs/facebook-login/access-tokens/#apptokens
- oauthTokenType
A token_type from oauth(https://tools.ietf.org/html/rfc6749) often has value "bearer"
-
final
case class
FacebookAccessToken
(tokenValue: TokenValue, tokenType: FacebookTokenType) extends Product with Serializable
Base class for access token - https://developers.facebook.com/docs/facebook-login/access-tokens/
Base class for access token - https://developers.facebook.com/docs/facebook-login/access-tokens/
- tokenValue
- String value that represents token
- tokenType
- Type of facebook token
-
final
case class
FacebookAppId
(value: String) extends FacebookApplicationId with Product with Serializable
Facebook app id, it is also called client id
Facebook app id, it is also called client id
- value
facebook application id(fixed size value - 16)
-
final
case class
FacebookAppSecret
(value: String) extends Product with Serializable
Facebook application secret that can be obtained at https://developers.facebook.com/apps/your_app_id/settings/
Facebook application secret that can be obtained at https://developers.facebook.com/apps/your_app_id/settings/
- value
value that represents secret - 32 symbols
- trait FacebookApplicationId extends AnyRef
-
final
case class
FacebookClientCode
(code: String, machineId: Option[String]) extends Product with Serializable
Case class that represents facebook client code, can be exchanged to access_token
Case class that represents facebook client code, can be exchanged to access_token
- code
string representation of client_code
- machineId
optional value that helps to identify specified client
-
final
case class
FacebookClientId
(value: String) extends FacebookApplicationId with Product with Serializable
Facebook client id, it is also called app id
Facebook client id, it is also called app id
- value
facebook application id
-
case class
FacebookError
(message: String, errorType: FacebookErrorType) extends Product with Serializable
- message
Facebook error message
-
trait
FacebookOauthResponseType
extends FacebookAttribute
Trait that represents response type
-
final
case class
FacebookRedirectUri
(uri: String) extends Product with Serializable
- uri
redirect uri can be obtained at https://developers.facebook.com/apps/your_app_id/settings/
-
sealed
trait
FacebookTokenType
extends AnyRef
Base trait for token type
-
final
case class
TokenValue
(value: String) extends Product with Serializable
Token value
Token value
- value
string value that represents token
-
final
case class
UserAccessToken
(oauthTokenType: String, expiresIn: FiniteDuration) extends FacebookTokenType with Product with Serializable
User access token - https://developers.facebook.com/docs/facebook-login/access-tokens/#usertokens
User access token - https://developers.facebook.com/docs/facebook-login/access-tokens/#usertokens
- oauthTokenType
A token_type from oauth(https://tools.ietf.org/html/rfc6749) often has value "bearer"
- expiresIn
The time interval after which token will be expired
Value Members
-
object
FacebookCode
extends FacebookOauthResponseType with Product with Serializable
Represents client code
-
object
FacebookCodeAndToken
extends FacebookOauthResponseType with Product with Serializable
Represents code and token at the same time
- object FacebookError extends Serializable
-
object
FacebookGrantedScopes
extends FacebookOauthResponseType with Product with Serializable
Represents granted_scopes
-
object
FacebookToken
extends FacebookOauthResponseType with Product with Serializable
Represents short lived access token
- object UserAccessToken extends Serializable