Preparing search index...
The search index is not available
azure-devops-node-api
azure-devops-node-api
handlers/bearertoken
BearerCredentialHandler
Class BearerCredentialHandler
Hierarchy
BearerCredentialHandler
BearerCredentialHandler
Implements
IRequestHandler
Index
Constructors
constructor
Properties
allow
Cross
Origin
Authentication
origin
token
Methods
can
Handle
Authentication
handle
Authentication
prepare
Request
Constructors
constructor
new
BearerCredentialHandler
(
token
:
string
,
allowCrossOriginAuthentication
?:
boolean
,
)
:
BearerCredentialHandler
Parameters
token
:
string
allowCrossOriginAuthentication
:
boolean
= true
Returns
BearerCredentialHandler
Properties
allow
Cross
Origin
Authentication
allowCrossOriginAuthentication
:
boolean
origin
origin
:
string
token
token
:
string
Methods
can
Handle
Authentication
canHandleAuthentication
(
response
:
IHttpClientResponse
)
:
boolean
Parameters
response
:
IHttpClientResponse
Returns
boolean
handle
Authentication
handleAuthentication
(
httpClient
:
IHttpClient
,
requestInfo
:
IRequestInfo
,
objs
:
any
,
)
:
Promise
<
IHttpClientResponse
>
Parameters
httpClient
:
IHttpClient
requestInfo
:
IRequestInfo
objs
:
any
Returns
Promise
<
IHttpClientResponse
>
prepare
Request
prepareRequest
(
options
:
any
)
:
void
Parameters
options
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
allow
Cross
Origin
Authentication
origin
token
Methods
can
Handle
Authentication
handle
Authentication
prepare
Request
azure-devops-node-api
Loading...