@@ -0,0 +1,1313 @@
+// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.%0Apackage com.yahoo.vespa.athenz.api;%0A%0Aimport java.util.Objects;%0A%0A/**%0A * Represents an Athenz Access Token%0A *%0A * @author bjorncs%0A */%0Apublic class AthenzAccessToken %7B%0A%0A    public static final String HTTP_HEADER_NAME = %22Authorization%22;%0A%0A    private static final String BEARER_TOKEN_PREFIX = %22Bearer %22;%0A%0A    private final String value;%0A%0A    public AthenzAccessToken(String value) %7B%0A        this.value = stripBearerTokenPrefix(value);%0A    %7D%0A%0A    private static String stripBearerTokenPrefix(String rawValue) %7B%0A        String stripped = rawValue.strip();%0A        return stripped.startsWith(BEARER_TOKEN_PREFIX)%0A                ? stripped.substring(BEARER_TOKEN_PREFIX.length())%0A                : stripped;%0A    %7D%0A%0A    public String value() %7B return value; %7D%0A%0A    @Override public String toString() %7B return %22AthenzAccessToken%7Bvalue='%22 + value + %22'%7D%22; %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A        AthenzAccessToken that = (AthenzAccessToken) o;%0A        return Objects.equals(value, that.value);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Objects.hash(value);%0A    %7D%0A%7D%0A

Add AthenzAccessToken