@@ -63,24 +63,24 @@ public async Task<IList<string>> GetAllValidChannelAccessTokenKeyIDsAsync(string
6363 return result . Kids ;
6464 }
6565
66- public async Task RevokeChannelAccessTokenAsync ( string clientId , string client_secret , string channelAccessToken )
66+ public async Task RevokeChannelAccessTokenAsync ( string channelId , string client_secret , string channelAccessToken )
6767 {
6868 var request = new List < KeyValuePair < string , string > >
6969 {
70- new KeyValuePair < string , string > ( "client_id" , clientId ) ,
70+ new KeyValuePair < string , string > ( "client_id" , channelId ) ,
7171 new KeyValuePair < string , string > ( "client_secret" , client_secret ) ,
7272 new KeyValuePair < string , string > ( "access_token" , channelAccessToken )
7373 } ;
7474
7575 await base . PostAsync ( $ "oauth2/v2.1/revoke", new FormUrlEncodedContent ( request ) ) . ConfigureAwait ( false ) ;
7676 }
7777
78- public async Task < ChannelAccessToken > IssueShortLivedChannelAccessTokenAsync ( string clientId , string clientSecret )
78+ public async Task < ChannelAccessToken > IssueShortLivedChannelAccessTokenAsync ( string channelId , string clientSecret )
7979 {
8080 var request = new List < KeyValuePair < string , string > > ( )
8181 {
8282 new KeyValuePair < string , string > ( "grant_type" , "client_credentials" ) ,
83- new KeyValuePair < string , string > ( "client_id" , clientId ) ,
83+ new KeyValuePair < string , string > ( "client_id" , channelId ) ,
8484 new KeyValuePair < string , string > ( "client_secret" , clientSecret )
8585 } ;
8686
0 commit comments