| Package | Description |
|---|---|
| com.fangcloud.sdk.auth |
| Modifier and Type | Method and Description |
|---|---|
YfyAuthFinish |
YfyWebAuth.finishFromCode(String code)
Call this after the user has visited the authorization URL and copy/pasted the authorization
code that Fangcloud gave them.
|
YfyAuthFinish |
YfyWebAuth.finishFromRedirect(String redirectUri,
YfySessionStore sessionStore,
Map<String,String[]> params)
Call this after the user has visited the authorization URL and Fangcloud has redirected them
back to you at the redirect URI.
|
YfyAuthFinish |
YfyEnterpriseAuth.getEnterpriseToken(long enterpriseId)
Get the enterprise token witch can used to invoke admin api,such as managing departments and groups
|
YfyAuthFinish |
YfyEnterpriseAuth.getEnterpriseToken(long enterpriseId,
int expirationTimeSeconds)
Get the enterprise token witch can used to invoke admin api,such as managing departments and groups
|
YfyAuthFinish |
YfyEnterpriseAuth.getUserToken(long userId)
Get the user token witch can used to invoke personal api,such as get folder information
|
YfyAuthFinish |
YfyEnterpriseAuth.getUserToken(long userId,
int expirationTimeSeconds)
Get the user token witch can used to invoke personal api,such as get folder information
|
YfyAuthFinish |
YfyWebAuth.passwordLogin(String username,
String password)
The method is used by password model user, the user is not the Fangcloud user.
|
Copyright © 2018 YiFangYun. All rights reserved.