Represents an access token used for Facebook login, with associated data.
More...
#include <FacebookAccessTokenData.h>
|
| FBAccessTokenData (Platform::String^ AccessToken, Windows::Foundation::DateTime Expiration) |
|
bool | IsExpired () |
|
void | SetPermissions (Windows::Foundation::Collections::IVectorView< Object^ >^perms) |
|
Represents an access token used for Facebook login, with associated data.
bool FBAccessTokenData::IsExpired |
( |
| ) |
|
Compares the expiration time of the access token to the current time.
- Returns
- true if the access token is expired, false otherwise.
void FBAccessTokenData::SetPermissions |
( |
Windows::Foundation::Collections::IVectorView< Object^ >^ |
perms | ) |
|
Splits permissions into granted and declined groups then stores these as GrantedPermissions and DeclinedPermissions, respectively. Note that previous values for GrantedPermissions and DeclinedPermissions will be overwritten.
- Parameters
-
perms | Collection of permissions to divide. |
Platform:: String^ winsdkfb::FBAccessTokenData::AccessToken |
|
get |
Access token provided by Facebook on successful login.
winsdkfb:: FBPermissions^ winsdkfb::FBAccessTokenData::DeclinedPermissions |
|
get |
The permissions that were declined by the user.
Windows:: Foundation:: DateTime winsdkfb::FBAccessTokenData::ExpirationDate |
|
get |
Expiration date of the access token.
winsdkfb:: FBPermissions^ winsdkfb::FBAccessTokenData::GrantedPermissions |
|
get |
The permissions that were granted by the user.
The documentation for this class was generated from the following files:
- E:/tmp/documentation/winsdkfb/winsdkfb/winsdkfb/winsdkfb.Shared/FacebookAccessTokenData.h
- E:/tmp/documentation/winsdkfb/winsdkfb/winsdkfb/winsdkfb.Shared/FacebookAccessTokenData.cpp