retrieveJWTPublicKeyByApplicationId method
Future<ClientResponse<PublicKeyResponse, void> >
retrieveJWTPublicKeyByApplicationId(
- String applicationId
Retrieves the Public Key configured for verifying the JSON Web Tokens (JWT) issued by the Login API by the Application Id.
@param {String} applicationId The Id of the Application for which this key is used. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<PublicKeyResponse, void>>
retrieveJWTPublicKeyByApplicationId(String applicationId) {
return _startAnonymous<PublicKeyResponse, void>()
.withUri('/api/jwt/public-key')
.withParameter('applicationId', applicationId)
.withMethod('GET')
.withResponseHandler(
defaultResponseHandlerBuilder((d) => PublicKeyResponse.fromJson(d)))
.go();
}