Python SDK API Reference
OAuth Exchange
exchange_code_for_claims()
Exchanges a Hawcx authorization code for verified JWT claims.
Parameters:
OAuthExchangeError- Failed to exchange code for tokenJWTVerificationError- JWT signature or claims validation failedInvalidPublicKeyError- Public key is malformed
JWT Verification
verify_jwt()
Manually verify a JWT token using the provided public key.
Parameters:
Delegation Client
TheHawcxDelegationClient provides high-level APIs for managing user MFA settings and credentials.
