Package

com.github.vooolll.domain

oauth

Permalink

package oauth

Visibility
  1. Public
  2. All

Type Members

  1. final case class AppAccessToken(oauthTokenType: String) extends AnyVal with FacebookTokenType with Product with Serializable

    Permalink

    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"

  2. final case class FacebookAccessToken(tokenValue: TokenValue, tokenType: FacebookTokenType) extends Product with Serializable

    Permalink

    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

  3. final case class FacebookAppId(value: String) extends FacebookApplicationId with Product with Serializable

    Permalink

    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)

  4. final case class FacebookAppSecret(value: String) extends AnyVal with Product with Serializable

    Permalink

    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

  5. trait FacebookApplicationId extends Any

    Permalink
  6. final case class FacebookClientCode(code: String, machineId: Option[String]) extends Product with Serializable

    Permalink

    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

  7. final case class FacebookClientId(value: String) extends FacebookApplicationId with Product with Serializable

    Permalink

    Facebook client id, it is also called app id

    Facebook client id, it is also called app id

    value

    facebook application id

  8. case class FacebookError(message: String, errorType: FacebookErrorType) extends Product with Serializable

    Permalink

    message

    Facebook error message

  9. trait FacebookOauthResponseType extends FacebookAttribute

    Permalink

    Trait that represents response type

  10. final case class FacebookRedirectUri(uri: String) extends Product with Serializable

    Permalink

    uri

    redirect uri can be obtained at https://developers.facebook.com/apps/your_app_id/settings/

  11. sealed trait FacebookTokenType extends Any

    Permalink

    Base trait for token type

  12. final case class TokenValue(value: String) extends AnyVal with Product with Serializable

    Permalink

    Token value

    Token value

    value

    string value that represents token

  13. final case class UserAccessToken(oauthTokenType: String, expiresIn: FiniteDuration) extends FacebookTokenType with Product with Serializable

    Permalink

    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

  1. object FacebookCode extends FacebookOauthResponseType with Product with Serializable

    Permalink

    Represents client code

  2. object FacebookCodeAndToken extends FacebookOauthResponseType with Product with Serializable

    Permalink

    Represents code and token at the same time

  3. object FacebookError extends Serializable

    Permalink
  4. object FacebookGrantedScopes extends FacebookOauthResponseType with Product with Serializable

    Permalink

    Represents granted_scopes

  5. object FacebookToken extends FacebookOauthResponseType with Product with Serializable

    Permalink

    Represents short lived access token

  6. object UserAccessToken extends Serializable

    Permalink

Ungrouped