JwtAuthenticator instance.
(self, token # type: str
)
| 115 | """ |
| 116 | |
| 117 | def __init__(self, token # type: str |
| 118 | ): |
| 119 | """JwtAuthenticator instance.""" |
| 120 | if not isinstance(token, str): |
| 121 | msg = 'The token must be a str.' |
| 122 | raise InvalidArgumentException(msg) |
| 123 | |
| 124 | self._token = token |
| 125 | |
| 126 | super().__init__(**self.as_dict()) |
| 127 | |
| 128 | def valid_keys(self): |
| 129 | return ['jwt_token'] |
no test coverage detected