File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments