2022-08-27 11:52:29 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# rubocop: disable Gitlab/NamespacedClass
|
2022-10-11 01:57:18 +05:30
|
|
|
class PersonalAccessTokenEntity < AccessTokenEntityBase
|
2022-08-27 11:52:29 +05:30
|
|
|
include Gitlab::Routing
|
|
|
|
|
|
|
|
expose :revoke_path do |token, options|
|
|
|
|
revoke_profile_personal_access_token_path(token)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
# rubocop: enable Gitlab/NamespacedClass
|