Skip to content

[I] BasicAuth

Basic authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic word followed by a space and a base64-encoded string username:password. For example, to authorize as demo / p@55w0rd the client would send

Authorization: Basic ZGVtbzpwQDU1dzByZA==
PropertyModifierTypeDescriptionInherited from
description?publicstringDocumentation from the authentication model, when provided.HttpAuthBase.description
idpublicstringScheme identifier, initially derived from the model name or authentication type. Service authentication resolution disambiguates conflicting identifiers.HttpAuthBase.id
modelreadonlyModelModel that defined the authenticationHttpAuthBase.model
schemepublic"Basic"Uses base64-encoded username and password credentials.-
typepublic"http"Identifies an HTTP Authorization-header scheme.-