2022-07-25 08:09:06 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# rubocop: disable Gitlab/NamespacedClass
|
2022-09-13 14:12:21 -04:00
|
|
|
class PersonalAccessTokenEntity < AccessTokenEntityBase
|
2022-07-25 08:09:06 -04:00
|
|
|
include Gitlab::Routing
|
|
|
|
|
|
|
|
expose :revoke_path do |token, options|
|
|
|
|
revoke_profile_personal_access_token_path(token)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
# rubocop: enable Gitlab/NamespacedClass
|