Skip to content

Commit e218a3b

Browse files
committed
Update Codebooks
1 parent d25bbbc commit e218a3b

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
path: '**/*.md'
3434
check_filenames: true
3535
ignore_words_list: tekst
36+
skip: './.git', './specifications', './vendor'
3637

3738
build:
3839
name: Build documentation

src/Codebooks/ClientAssertionTypesEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66

77
enum ClientAssertionTypesEnum: string
88
{
9+
// TODO mivanci rename to JwtBearer in v1
910
case JwtBaerer = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
1011
}

src/Codebooks/ClientAuthenticationMethodsEnum.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,16 @@ enum ClientAuthenticationMethodsEnum: string
1515
case PrivateKeyJwt = 'private_key_jwt';
1616

1717
case None = 'none';
18+
19+
20+
public function isNone(): bool
21+
{
22+
return $this === ClientAuthenticationMethodsEnum::None;
23+
}
24+
25+
26+
public function isNotNone(): bool
27+
{
28+
return !$this->isNone();
29+
}
1830
}

0 commit comments

Comments
 (0)