Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.21 KB

Class_BasicAuthenticationMethod.md

File metadata and controls

36 lines (24 loc) · 1.21 KB

BasicAuthenticationMethod Class

Implements HTTP “Basic” authentication.

  • The Basic username is the $apiClientId,
  • the Basic password is the $apiClientKey.
  • The Basic password must also be returned unchanged by the KeyRepository.

If you want to store the Basic password in hashed form instead of plaintext passwords, use the BasicHashAuthenticationMethod class instead.

This is here mostly for testing and completeness purposes; whatever HTTP/REST/PSR-7 library you're using, it can probably do this better.

Class Details

Constructor

  • __construct ()