Skip to content

Commit 4e0fdc9

Browse files
committed
update readme
1 parent 124d1fe commit 4e0fdc9

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README_kor.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,30 @@ using (var client = new LineLiffClient("access token"))
217217
|[Get all LIFF apps](https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps)|GetAllLiffAppsAsync|✔|
218218
|[Delete LIFF app from a channel](https://developers.line.biz/en/reference/liff-server/#delete-liff-app)|DeleteLiffAppsFromChannelAsync|✔|
219219
220+
## 2-4 LineLoginClient
221+
* [LINE Login v2.1](https://developers.line.biz/en/reference/line-login/)
222+
223+
```csharp
224+
using Line.Login;
225+
226+
using (LineLoginClient client = new LineLoginClient())
227+
{
228+
var issued = await client.OAuth2dot1.IssueAccessTokenAsync("code", "redirectUrl", "clientId", "secret");
229+
var profile = await client.GetUserProfileAsync(issued.AccessToken);
230+
}
231+
```
232+
233+
|LINE Developers|Methods|Tested|
234+
|---|---|---|
235+
|[Issue access token](https://developers.line.biz/en/reference/line-login/#issue-access-token)|OAuth2dot1.IssueAccessTokenAsync|✔|
236+
|[Verify access token validity](https://developers.line.biz/en/reference/line-login/#verify-access-token)|OAuth2dot1.VerifyAccessTokenValidityAsync|✔|
237+
|[Refresh access token](https://developers.line.biz/en/reference/line-login/#refresh-access-token)|OAuth2dot1.RefreshAccessTokenAsync|✔|
238+
|[Revoke access token](https://developers.line.biz/en/reference/line-login/#revoke-access-token)|OAuth2dot1.RevokeAccessTokenAsync|✔|
239+
|[Verify ID token](https://developers.line.biz/en/reference/line-login/#verify-id-token)|OAuth2dot1.VerifyIdTokenAsync|✔|
240+
|[Get user information](https://developers.line.biz/en/reference/line-login/#userinfo)|OAuth2dot1.GetUserInformationAsync|✔|
241+
|[Get user profile](https://developers.line.biz/en/reference/line-login/#get-user-profile)|GetUserProfileAsync|✔|
242+
|[Get friendship status](https://developers.line.biz/en/reference/line-login/#get-friendship-status)|GetFriendshipStatusAsync|✔|
243+
220244
# 3. 참고 문서
221245
* [Messaging API reference](https://developers.line.biz/en/reference/messaging-api/)
222246
* [How to serialize properties of derived classes with System.Text.Json](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-7-0)

0 commit comments

Comments
 (0)