js-miniapp-bridge - v1.1.0 › UserInfoProvider
Interface: UserInfoProvider
Interfaces to retrieve User profile related information.
Hierarchy
- UserInfoProvider
Index
Methods
Methods
getAccessToken
▸ getAccessToken(): Promise‹AccessTokenData›
Defined in js-miniapp-sdk/src/miniapp.ts:111
Returns: Promise‹AccessTokenData›
Access token from native hostapp.
getProfilePhoto
▸ getProfilePhoto(): Promise‹string›
Defined in js-miniapp-sdk/src/miniapp.ts:106
Returns: Promise‹string›
Profile photo saved in the host app user profile.
getUserName
▸ getUserName(): Promise‹string›
Defined in js-miniapp-sdk/src/miniapp.ts:101
Returns: Promise‹string›
Username saved in the host app user profile.