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
    • Field Detail

      • token

        private final String token
    • 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