最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Unable to Retrieve API Clients and Assigned OAuth Scopes via Google Admin SDK in C# .NET - Stack Overflow

programmeradmin1浏览0评论

I am currently working on a C# .NET application that leverages the Google Admin SDK to manage administrative tasks within our anization. As part of this implementation, I require a method to programmatically retrieve the list of API clients and their assigned OAuth scopes, which are available in the Google Admin Console under Security > API Controls > Domain-wide Delegation.

After reviewing the documentation and available endpoints within the Google Admin SDK, I was unable to find any API that provides access to this information. I would like to inquire whether there is an existing method to achieve this within the SDK or an alternative approach that enables administrators to programmatically retrieve the list of API clients and their associated OAuth scopes.

I appreciate your time and assistance on this matter and look forward to your response.

I am currently working on a C# .NET application that leverages the Google Admin SDK to manage administrative tasks within our anization. As part of this implementation, I require a method to programmatically retrieve the list of API clients and their assigned OAuth scopes, which are available in the Google Admin Console under Security > API Controls > Domain-wide Delegation.

After reviewing the documentation and available endpoints within the Google Admin SDK, I was unable to find any API that provides access to this information. I would like to inquire whether there is an existing method to achieve this within the SDK or an alternative approach that enables administrators to programmatically retrieve the list of API clients and their associated OAuth scopes.

I appreciate your time and assistance on this matter and look forward to your response.

Share Improve this question asked Feb 10 at 12:30 Parth JaniParth Jani 133 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

The only way to get that information is using the Admin Reports API, using the endpoint activities.list(applicationName: admin, eventName: AUTHORIZE_API_CLIENT_ACCESS)

Link to APIs explorer

But events older than 180 days are not available...

发布评论

评论列表(0)

  1. 暂无评论