singer_sdk.authenticators.OAuthJWTAuthenticator¶
- class singer_sdk.authenticators.OAuthJWTAuthenticator[source]¶
API Authenticator for OAuth 2.0 flows which utilize a JWT refresh token.
- property oauth_request_body: dict[source]¶
Return request body for OAuth request.
- Returns:
Request body mapping for OAuth.
- property oauth_request_payload: dict[source]¶
Return request payload for OAuth request.
- Returns:
Payload object for OAuth.
- Raises:
RuntimeError – If the JWT dependencies are not installed.
ValueError – If the private key is not set.