blob: ce7db5f280014d9a6aa516860f8b2fe9a652f831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
module ErrorTracking
class SentryClient
class Token
MASKED_TOKEN_REGEX = /\A\*+\z/
def self.masked_token?(token)
MASKED_TOKEN_REGEX.match?(token)
end
end
end
end
|