Package com.akamai.edgegrid.signer
Class ClientCredential
java.lang.Object
com.akamai.edgegrid.signer.ClientCredential
- All Implemented Interfaces:
Comparable<ClientCredential>
This is a representation of client credential used to sign an EdgeGrid request. This object is
immutable, so you probably want to build an instance using
ClientCredential.ClientCredentialBuilder
or one
of the static methods that reads from an EdgeRc file.- Author:
- [email protected], [email protected]
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This is the defaultmaxBodySize
to apply if not explicitly set in a credential. -
Method Summary
-
Field Details
-
DEFAULT_MAX_BODY_SIZE_IN_BYTES
public static final int DEFAULT_MAX_BODY_SIZE_IN_BYTESThis is the defaultmaxBodySize
to apply if not explicitly set in a credential.- See Also:
-
-
Method Details
-
builder
Returns a new builder. The returned builder is equivalent to the builder generated byClientCredential.ClientCredentialBuilder
.- Returns:
- a fresh
ClientCredential.ClientCredentialBuilder
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ClientCredential>
-
equals
-
getAccessToken
-
getClientSecret
-
getClientToken
-
getHeadersToSign
-
getHost
-
getMaxBodySize
public int getMaxBodySize() -
hashCode
public int hashCode() -
toString
-