Compartir a través de


Interface "Http Authentication"

Namespace: System.RestClient

An interface to support different authorization mechanism in a generic way.

Methods

IsAuthenticationRequired

Indicates whether authentication is required for the request.

procedure IsAuthenticationRequired(): Boolean

Returns

Type Description
Boolean

True if authentication is required, false otherwise.

GetAuthorizationHeaders

Gets the authorization headers for the request.

procedure GetAuthorizationHeaders(): Dictionary of [Text, SecretText]

Returns

Type Description
Dictionary of [Text, SecretText]

A dictionary of authorization headers.

See also