Admin Token API: Add support for reading OAuth Application Secrets
This commit adds support for oauth application secrets to the Admin Token API. Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/443597 Changelog: added
显示
- doc/api/admin/token.md 2 个添加, 0 个删除doc/api/admin/token.md
- lib/api/admin/token.rb 3 个添加, 4 个删除lib/api/admin/token.rb
- lib/authn/agnostic_token_identifier.rb 3 个添加, 1 个删除lib/authn/agnostic_token_identifier.rb
- lib/authn/tokens/deploy_token.rb 4 个添加, 0 个删除lib/authn/tokens/deploy_token.rb
- lib/authn/tokens/feed_token.rb 4 个添加, 0 个删除lib/authn/tokens/feed_token.rb
- lib/authn/tokens/oauth_application_secret.rb 32 个添加, 0 个删除lib/authn/tokens/oauth_application_secret.rb
- lib/authn/tokens/personal_access_token.rb 4 个添加, 0 个删除lib/authn/tokens/personal_access_token.rb
- spec/lib/authn/agnostic_token_identifier_spec.rb 2 个添加, 0 个删除spec/lib/authn/agnostic_token_identifier_spec.rb
- spec/lib/authn/tokens/oauth_application_secret_spec.rb 29 个添加, 0 个删除spec/lib/authn/tokens/oauth_application_secret_spec.rb
- spec/requests/api/admin/token_spec.rb 4 个添加, 1 个删除spec/requests/api/admin/token_spec.rb
- spec/support/shared_examples/authn/token_shared_examples.rb 6 个添加, 0 个删除spec/support/shared_examples/authn/token_shared_examples.rb
加载中
想要评论请 注册 或 登录