Apr 15, 2024 13:43 Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients SampleSupported Clients
NGClient
Methods Summary
CustomApiBuilder
withAccessTokenExtractor(accessTokenExtractor)
Configures the api with a token extractor which parses the concrete type of token from the response string.
CustomApiBuilder
withAccessTokenMethod(tokenRequestMethod)
The request method used for the access token endpoint (defaults to POST).
CustomApiBuilder
withClientAuthentication(clientAuthentication)
Configures the api with a client authentication method which specifies how the client credentials are sent.
CustomApiBuilder
withRefreshTokenEndpoint(refreshTokenEndpoint)
Configure the api with the URL that receives the refresh token requests.
CustomApiBuilder
withRevokeTokenEndpoint(revokeTokenEndpoint)
Configure the api with the URL that receives the revoke token requests.
Methods Details
withAccessTokenExtractor(accessTokenExtractor)
Configures the api with a token extractor which parses the concrete type of token from the response string.
String
accessTokenExtractor
see plugins.oauth.OAuthTokenExtractors
withAccessTokenMethod(tokenRequestMethod)
The request method used for the access token endpoint (defaults to POST).
String
tokenRequestMethod
can be 'post' or 'get'
withClientAuthentication(clientAuthentication)
Configures the api with a client authentication method which specifies how the client credentials are sent.
They can be sent as basic Auth header or in the request body.
String
clientAuthentication
see plugins.oauth.ClientAuthentication
withRefreshTokenEndpoint(refreshTokenEndpoint)
Configure the api with the URL that receives the refresh token requests.
String
refreshTokenEndpoint
;
withRevokeTokenEndpoint(revokeTokenEndpoint)
Configure the api with the URL that receives the revoke token requests.
String
revokeTokenEndpoint
;