Interface Claims

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.String name)  
      java.lang.Object get​(java.lang.String name)
      Retrieves a value from the claims for the given name.
      java.util.Set<java.lang.String> names()  
    • Method Detail

      • get

        @Nullable
        java.lang.Object get​(java.lang.String name)
        Retrieves a value from the claims for the given name.
        Parameters:
        name - the claim name
        Returns:
        null if the claim not exist or the claim value.
      • names

        @Nonnull
        java.util.Set<java.lang.String> names()
        Returns:
        All claim names.
      • contains

        boolean contains​(java.lang.String name)
        Parameters:
        name - the claim name
        Returns:
        false if the claim does not exist.