Class ClaimToken

java.lang.Object
com.inrupt.client.uma.ClaimToken

public final class ClaimToken extends Object
A class representing an UMA claim token and the associated type value.
See Also:
  • Method Details

    • getClaimToken

      public String getClaimToken()
      Get the claim token value.
      Returns:
      the claim token value
    • getClaimTokenType

      public URI getClaimTokenType()
      Get the claim token type.
      Returns:
      the claim token type
    • of

      public static ClaimToken of(String token, URI tokenType)
      Create a new ClaimToken.
      Parameters:
      token - the claim token value
      tokenType - the claim token type
      Returns:
      the new claim token