Class BearerTokenEvidence

  • All Implemented Interfaces:
    Evidence

    public final class BearerTokenEvidence
    extends Object
    implements Evidence
    A piece of evidence that is comprised of a bearer security token.
    Author:
    Pedro Igor
    • Constructor Detail

      • BearerTokenEvidence

        public BearerTokenEvidence​(String token)
        Construct a new instance.
        Parameters:
        token - the bearer security token (must not be null)
    • Method Detail

      • getToken

        public String getToken()
        Get the bearer security token.
        Returns:
        the bearer security token