View Javadoc

1   package com.atlassian.asap.core;
2   
3   /**
4    * Constants defined by the ASAP protocol.
5    */
6   public final class JwtConstants {
7       /**
8        * The WWW-Authenticate header value for the bearer authentication scheme.
9        */
10      public static final String BEARER_AUTHENTICATION_SCHEME = "Bearer";
11  
12      /**
13       * The Authorization HTTP header value prefix for the bearer authentication scheme.
14       */
15      public static final String HTTP_AUTHORIZATION_HEADER_VALUE_PREFIX = BEARER_AUTHENTICATION_SCHEME + " ";
16  
17      private JwtConstants() {
18          throw new UnsupportedOperationException();
19      }
20  }