Find PolicyId of server's UserTokenPolicy by token_type. Return default if there's no matching UserTokenPolicy.
(self, token_type, default)
| 411 | return response |
| 412 | |
| 413 | def server_policy_id(self, token_type, default): |
| 414 | """ |
| 415 | Find PolicyId of server's UserTokenPolicy by token_type. |
| 416 | Return default if there's no matching UserTokenPolicy. |
| 417 | """ |
| 418 | for policy in self._policy_ids: |
| 419 | if policy.TokenType == token_type: |
| 420 | return policy.PolicyId |
| 421 | return default |
| 422 | |
| 423 | def server_policy_uri(self, token_type): |
| 424 | """ |
no outgoing calls
no test coverage detected