Skip to content

Commit f7af30b

Browse files
authored
Merge pull request #131 from petski/organization-alias
feat: Add alias and redirectUrl to Organization
2 parents 8a58bb0 + 486ce2e commit f7af30b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/Representation/Organization.php

+26
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,34 @@
44

55
namespace Fschmtt\Keycloak\Representation;
66

7+
use Fschmtt\Keycloak\Attribute\Since;
78
use Fschmtt\Keycloak\Collection\IdentityProviderCollection;
89
use Fschmtt\Keycloak\Collection\OrganizationDomainCollection;
910
use Fschmtt\Keycloak\Collection\UserCollection;
1011
use Fschmtt\Keycloak\Type\Map;
1112

1213
/**
14+
* @method string|null getId()
15+
* @method string|null getName()
16+
* @method bool|null getEnabled()
17+
* @method string|null getDescription()
18+
* @method Map|null getAttributes()
19+
* @method OrganizationDomainCollection|null getDomains()
20+
* @method UserCollection|null getMembers()
21+
* @method IdentityProviderCollection|null getIdentityProviders()
22+
* @method string|null getAlias()
23+
* @method string|null getRedirectUrl()
24+
* @method self withId(?string $id)
25+
* @method self withName(?string $name)
26+
* @method self withEnabled(?bool $enabled)
27+
* @method self withDescription(?string $description)
28+
* @method self withAttributes(?Map $attributes)
29+
* @method self withDomains(?OrganizationDomainCollection $domains)
30+
* @method self withMembers(?UserCollection $members)
31+
* @method self withIdentityProviders(?IdentityProviderCollection $identityProviders)
32+
* @method self withAlias(?string $alias)
33+
* @method self withRedirectUrl(?string $redirectUrl)
34+
*
1335
* @codeCoverageIgnore
1436
*/
1537
class Organization extends Representation
@@ -23,5 +45,9 @@ public function __construct(
2345
protected ?OrganizationDomainCollection $domains = null,
2446
protected ?UserCollection $members = null,
2547
protected ?IdentityProviderCollection $identityProviders = null,
48+
#[Since('26.0.0')]
49+
protected ?string $alias = null,
50+
#[Since('26.0.0')]
51+
protected ?string $redirectUrl = null,
2652
) {}
2753
}

0 commit comments

Comments
 (0)