Skip to content

Commit

Permalink
Merge pull request #1657 from ConductionNL/feature/BEHEER-2835/OAuth-…
Browse files Browse the repository at this point in the history
…Vrijbrp

Support for the VrijBRP version of OAuth
  • Loading branch information
rjzondervan authored Aug 20, 2024
2 parents 4b23a18 + 529260a commit 61c3237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/Entity/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class Gateway
* max = 255
* )
*
* @Assert\Choice({"header", "query", "form_params", "json"})
* @Assert\Choice({"header", "query", "form_params", "json", "base_auth"})
*
* @ApiProperty(
* attributes={
Expand Down Expand Up @@ -819,6 +819,7 @@ public function fromSchema(array $schema): self
array_key_exists('authorizationHeader', $schema) ? $this->setAuthorizationHeader($schema['authorizationHeader']) : '';
array_key_exists('auth', $schema) ? $this->setAuth($schema['auth']) : '';
array_key_exists('authorizationPassthroughMethod', $schema) ? $this->setAuthorizationPassthroughMethod($schema['authorizationPassthroughMethod']) : '';
array_key_exists('authenticationConfig', $schema) ? $this->setAuthenticationConfig($schema['authenticationConfig']) : '';
array_key_exists('locale', $schema) ? $this->setLocale($schema['locale']) : '';
array_key_exists('accept', $schema) ? $this->setAccept($schema['accept']) : '';
array_key_exists('jwtId', $schema) ? $this->setJwtId($schema['jwtId']) : '';
Expand Down

0 comments on commit 61c3237

Please sign in to comment.