Package app.ductape.sdk.core
Class RequestContext
java.lang.Object
app.ductape.sdk.core.RequestContext
-
Constructor Summary
ConstructorsConstructorDescriptionRequestContext(String workspaceId, String userId, String publicKey, String token, String accessKey, String workspacePrivateKey) RequestContext(String workspaceId, String userId, String publicKey, String token, String accessKey, String workspacePrivateKey, String ipAddress, String language) -
Method Summary
Modifier and TypeMethodDescriptionlanguage()static RequestContextofAccessKey(String accessKey) Creates an auth context from an access key only (workspace credentials are resolved server-side).token()userId()TSprivate_keyon the auth object passed to API clients; null if not loaded yet.
-
Constructor Details
-
RequestContext
-
RequestContext
-
RequestContext
-
-
Method Details
-
ofAccessKey
Creates an auth context from an access key only (workspace credentials are resolved server-side). -
workspaceId
-
userId
-
publicKey
-
token
-
accessKey
-
workspacePrivateKey
TSprivate_keyon the auth object passed to API clients; null if not loaded yet. -
ipAddress
-
language
-