MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / is_valid_token

Method is_valid_token

tests/rtm/mock_web_api_server.py:15–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 logger = logging.getLogger(__name__)
14
15 def is_valid_token(self):
16 return "authorization" in self.headers and str(self.headers["authorization"]).startswith("Bearer xoxb-")
17
18 def is_invalid_rtm_start(self):
19 return (

Callers 1

_handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected