Package io.camunda.client
Interface CredentialsProvider.StatusCode
- All Known Implementing Classes:
GrpcStatusCode,HttpStatusCode
- Enclosing interface:
CredentialsProvider
public static interface CredentialsProvider.StatusCode
Represents the result of a failed call, abstracting over gRPC and standard HTTP status codes.
-
Method Summary
Modifier and TypeMethodDescriptionintcode()Returns the raw status code, e.g.booleanReturns true if the request was failed because the user cannot be authenticated.
-
Method Details
-
code
int code()Returns the raw status code, e.g. HTTP 401 Unauthorized, or gRPC 16 Unauthenticated. -
isUnauthorized
boolean isUnauthorized()Returns true if the request was failed because the user cannot be authenticated.
-