1 package com.atlassian.asap.api;
2
3 /**
4 * An ASAP JSON Web Token.
5 *
6 * @see <a href="https://tools.ietf.org/html/rfc7519">JSON Web Token</a>
7 * @see <a href="http://s2sauth.bitbucket.org/">ASAP Authentication</a>
8 */
9 public interface Jwt {
10 /**
11 * @return the header of the token.
12 */
13 JwsHeader getHeader();
14
15 /**
16 * @return the claims contained in the token payload.
17 */
18 JwtClaims getClaims();
19 }