Class BearerHttpAuthenticationHandler

  • All Implemented Interfaces:
    com.atlassian.jira.rest.client.api.AuthenticationHandler

    public class BearerHttpAuthenticationHandler
    extends Object
    implements com.atlassian.jira.rest.client.api.AuthenticationHandler
    Authentication handler for bearer authentication
    Author:
    Elia Bracci
    • Constructor Detail

      • BearerHttpAuthenticationHandler

        public BearerHttpAuthenticationHandler​(String token)
        Bearer http authentication handler constructor
        Parameters:
        token - pat or api token to use for bearer authentication
    • Method Detail

      • configure

        public void configure​(com.atlassian.httpclient.api.Request.Builder builder)
        Specified by:
        configure in interface com.atlassian.jira.rest.client.api.AuthenticationHandler