-
public class LoginMethodHandler.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static LoginMethodHandler.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final AuthenticationTokencreateAuthenticationTokenFromNativeLogin(Bundle bundle, String expectedNonce)final AccessTokencreateAccessTokenFromNativeLogin(Bundle bundle, AccessTokenSource source, String applicationId)final AuthenticationTokencreateAuthenticationTokenFromWebBundle(Bundle bundle, String expectedNonce)WARNING: This feature is currently in development and not intended for external usage. final AccessTokencreateAccessTokenFromWebBundle(Collection<String> requestedPermissions, Bundle bundle, AccessTokenSource source, String applicationId)final StringgetUserIDFromSignedRequest(String signedRequest)-
-
Method Detail
-
createAuthenticationTokenFromNativeLogin
final AuthenticationToken createAuthenticationTokenFromNativeLogin(Bundle bundle, String expectedNonce)
-
createAccessTokenFromNativeLogin
final AccessToken createAccessTokenFromNativeLogin(Bundle bundle, AccessTokenSource source, String applicationId)
-
createAuthenticationTokenFromWebBundle
final AuthenticationToken createAuthenticationTokenFromWebBundle(Bundle bundle, String expectedNonce)
WARNING: This feature is currently in development and not intended for external usage.
- Parameters:
expectedNonce- the nonce expected to have created with the AuthenticationToken
-
createAccessTokenFromWebBundle
final AccessToken createAccessTokenFromWebBundle(Collection<String> requestedPermissions, Bundle bundle, AccessTokenSource source, String applicationId)
-
getUserIDFromSignedRequest
final String getUserIDFromSignedRequest(String signedRequest)
-
-
-
-