Skip to content

Commit ba9646c

Browse files
committed
chore: update Readme
1 parent 660045f commit ba9646c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,14 @@ Line SDK wrapper for React Native 🚀
174174

175175
| Function | Description |
176176
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
177-
| `login(args?: LoginArguments): Promise<LoginResult>` | Starts the login flow of Line's SDK (Opens the apps if it's installed and defaults to the browser otherwise). It accepts the same argumements as the LineSDK, in an object `{ key: value }`, defaults the same way as LineSDK too. |
178-
| `getCurrentAccessToken(): Promise<AccessToken>` | Returns the current access token for the currently logged in user. |
179-
| `getProfile(): Promise<UserProfile>` | Returns the profile of the currently logged in user. |
180-
| `logout(): Promise<void>` | Logs out the currently logged in user. |
181-
| `refreshToken(): Promise<AccessToken>` | Refreshes the access token and returns it. |
182-
| `verifyAccessToken(): Promise<AccessTokenVerifyResult>` | Verifies the access token and returns it. |
183-
| `getBotFriendshipStatus(): Promise<BotFriendshipStatus>` | Gets bot friendship status if [configured](https://developers.line.biz/en/docs/ios-sdk/swift/link-a-bot/). |
177+
| `login(params: LoginParams): Promise<LoginResult>` | Starts the login flow of Line's SDK (Opens the apps if it's installed and defaults to the browser otherwise). It accepts the same argumements as the LineSDK, in an object `{ key: value }`, defaults the same way as LineSDK too. |
178+
| `getCurrentAccessToken(): Promise<AccessToken>` | Returns the access token of the current user. |
179+
| `getProfile(): Promise<UserProfile>` | Returns the current user profile information. |
180+
| `logout(): Promise<void>` | Revokes the access token of the current user. |
181+
| `refreshAccessToken(): Promise<AccessToken>` | Refreshes the access token of the current user. |
182+
| `setup(params: SetupParams): Promise<void>` | Initializes the Line SDK. |
183+
| `verifyAccessToken(): Promise<VerifyResult>` | Checks whether the access token of the current user is valid. |
184+
| `getFriendshipStatus(): Promise<FriendshipStatus>` | Gets the friendship status between the LINE Official Account (which is linked to the current channel) and the user if [configured](https://developers.line.biz/en/docs/line-login-sdks/ios-sdk/swift/link-a-bot/). |
184185
185186
## Example
186187

0 commit comments

Comments
 (0)