10Duke Java Core
Loading...
Searching...
No Matches
tenduke.sdk.core.service.AuthorizationProvider Interface Reference

Detailed Description

Interface class of an authorization provider that supplies tokens and headers.

Inheritance diagram for tenduke.sdk.core.service.AuthorizationProvider:
tenduke.sdk.core.auth.SingleUserAuthorizationProvider

Public Member Functions

String buildAuthorizationHeader ()
 Builds value for Authorization header to use for authorizing API calls to the 10Duke Scale API.
 
String signingKeyId ()
 Returns the key identifier of the key that was used to sign the Authorization header token.
 

Member Function Documentation

◆ buildAuthorizationHeader()

String tenduke.sdk.core.service.AuthorizationProvider.buildAuthorizationHeader ( )

Builds value for Authorization header to use for authorizing API calls to the 10Duke Scale API.

Note: does not include the header name and colon Authorization:.

Returns
built Authorization header value.

Implemented in tenduke.sdk.core.auth.SingleUserAuthorizationProvider.

◆ signingKeyId()

String tenduke.sdk.core.service.AuthorizationProvider.signingKeyId ( )

Returns the key identifier of the key that was used to sign the Authorization header token.

Returns
The key id or null if not applicable.

Implemented in tenduke.sdk.core.auth.SingleUserAuthorizationProvider.


The documentation for this interface was generated from the following file: