test_class.file: model/jwt/src/test/java/org/eclipse/ditto/model/jwt/ImmutableJsonWebTokenTest.java
test_class.identifier: ImmutableJsonWebTokenTest
test_case.body: @Test
      public void checkTokenExpiration() {
          final String header = "{\"header\":\"value\"}";
          final String payload = String.format("{\"exp\":%d}", Instant.now().getEpochSecond());
          final String signature = "{\"signature\":\"foo\"}";
  
          final String authorizationHeader = "Bearer " + base64(header) + "." + base64(payload) + "." + base64(signature);
  
          final JsonWebToken expiredJsonWebToken = ImmutableJsonWebToken.fromAuthorization(authorizationHeader);
  
          assertThat(expiredJsonWebToken.isExpired()).isEqualTo(true);
      }
test_case.class_method_signature: ImmutableJsonWebTokenTest.checkTokenExpiration()
test_case.full_signature: @Test public void checkTokenExpiration()
test_case.identifier: checkTokenExpiration
test_case.invocations: format getEpochSecond now base64 base64 base64 fromAuthorization isEqualTo assertThat isExpired
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void checkTokenExpiration()
focal_class.declarator: authorizationSubjects
focal_class.modifier: private final
focal_class.original_string: private final List<String> authorizationSubjects;
focal_class.type: List<String>
focal_class.var_name: authorizationSubjects
focal_class.file: model/jwt/src/main/java/org/eclipse/ditto/model/jwt/ImmutableJsonWebToken.java
focal_class.identifier: ImmutableJsonWebToken
focal_class.class_method_signature: ImmutableJsonWebToken.ImmutableJsonWebToken(final String token)
focal_class.full_signature: private  ImmutableJsonWebToken(final String token)
focal_class.identifier: ImmutableJsonWebToken
focal_class.modifiers: private
focal_class.parameters: (final String token)
focal_class.signature:  ImmutableJsonWebToken(final String token)
focal_class.class_method_signature: ImmutableJsonWebToken.fromAuthorization(final String authorization)
focal_class.full_signature: public static JsonWebToken fromAuthorization(final String authorization)
focal_class.identifier: fromAuthorization
focal_class.modifiers: public static
focal_class.parameters: (final String authorization)
focal_class.return: JsonWebToken
focal_class.signature: JsonWebToken fromAuthorization(final String authorization)
focal_class.class_method_signature: ImmutableJsonWebToken.getTokenFromAuthorizationString(final String authorizationString)
focal_class.full_signature: private static String getTokenFromAuthorizationString(final String authorizationString)
focal_class.identifier: getTokenFromAuthorizationString
focal_class.modifiers: private static
focal_class.parameters: (final String authorizationString)
focal_class.return: String
focal_class.signature: String getTokenFromAuthorizationString(final String authorizationString)
focal_class.class_method_signature: ImmutableJsonWebToken.fromToken(final String token)
focal_class.full_signature: public static JsonWebToken fromToken(final String token)
focal_class.identifier: fromToken
focal_class.modifiers: public static
focal_class.parameters: (final String token)
focal_class.return: JsonWebToken
focal_class.signature: JsonWebToken fromToken(final String token)
focal_class.class_method_signature: ImmutableJsonWebToken.getSubjects()
focal_class.full_signature: @Override public List<String> getSubjects()
focal_class.identifier: getSubjects
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getSubjects()
focal_class.class_method_signature: ImmutableJsonWebToken.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: ImmutableJsonWebToken.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ImmutableJsonWebToken.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractJsonWebToken
focal_method.body: public static JsonWebToken fromAuthorization(final String authorization) {
          final String token = getTokenFromAuthorizationString(authorization);
          return fromToken(token);
      }
focal_method.class_method_signature: ImmutableJsonWebToken.fromAuthorization(final String authorization)
focal_method.full_signature: public static JsonWebToken fromAuthorization(final String authorization)
focal_method.identifier: fromAuthorization
focal_method.invocations: getTokenFromAuthorizationString fromToken
focal_method.modifiers: public static
focal_method.parameters: (final String authorization)
focal_method.return: JsonWebToken
focal_method.signature: JsonWebToken fromAuthorization(final String authorization)