Package com.adobe.aio.ims
Class JwtTokenBuilder
- java.lang.Object
-
- com.adobe.aio.ims.JwtTokenBuilder
-
@Deprecated public class JwtTokenBuilder extends Object
Deprecated.FYI, the JWT token will generate for you will contain the following claims: `exp` - the expiration time. IMS allows a time skew of 30 seconds between the time specified and the IMS server time. `iss` - the issuer. It must be present, and it must be in the format: `org_ident@AdobeOrg` It represents the identity of the organization which issued the token, and it must be for an organization that has provided IMS with a valid certificate. `sub` - the subject. It must be present and must be in the format: `user_ident@user_auth_src`. It represents the ident and authsrc of the technical account for which a certificate has been uploaded to IMS `aud` - the audience of the token. Must be only one entry, in the format: `ENDPOINT_URI/c/client_id`, where the client_id is the client id for which the access token will be issued. The `ENDPOINT_URI` must be a valid IMS endpoint (e.g. `https://ims-na1.adobelogin.com` for IMS production) `one or more metascopes claims`, in the format: `ENDPOINT_URI/s/SCOPE_CODE: true`, where the ENDPOINT_URI has the same meaning as for the audience, and the SCOPE_CODE is a valid meta-scope code that was granted to you when the certificate binding was created. Note that Optionally, the JWT can contain the following claims (not implemented here yet) `jti` - a unique identifier for the token. It is dependent on the setting being configured when the certificate binding was created, and if it is set as required it must have not been previously seen by the service, or the request will be reject It will also help you getting this signed with a `RSASSA-PKCS1-V1_5` Digital Signatures with `SHA-2` and a `RS256` The JWT algorithm/`alg` header value. For this, it leverages a third-party open source library : [jjwt](https://github.com/jwtk/jjwt)
-
-
Constructor Summary
Constructors Constructor Description JwtTokenBuilder(Workspace workspace)
Deprecated.
-