final class ApiSecurityConfig (View source)

Selects the built-in API authentication configuration, or disables built-in authentication.

Methods

__construct(StaticBearerConfig|null $staticBearer)

Captures the optional static bearer settings used by the API service provider.

Returns built-in bearer authentication settings, or null when that authenticator is disabled.

Details

__construct

__construct(StaticBearerConfig|null $staticBearer)

Captures the optional static bearer settings used by the API service provider.

Parameters

StaticBearerConfig|null $staticBearer

staticBearer

StaticBearerConfig|null staticBearer()

Returns built-in bearer authentication settings, or null when that authenticator is disabled.

Return Value

StaticBearerConfig|null