Skip to content

Commit 98f3c54

Browse files
Commit via running ake Sources/oidc
1 parent ed034c1 commit 98f3c54

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Sources/oidc/Client.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public struct Client: APIProtocol {
4141
/// Get the customization template for an OIDC subject claim for an organization
4242
///
4343
/// Gets the customization template for an OpenID Connect (OIDC) subject claim.
44-
/// You must authenticate using an access token with the `read:org` scope to use this endpoint.
45-
/// GitHub Apps must have the `organization_administration:write` permission to use this endpoint.
44+
///
45+
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
4646
///
4747
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
4848
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
@@ -107,8 +107,8 @@ public struct Client: APIProtocol {
107107
/// Set the customization template for an OIDC subject claim for an organization
108108
///
109109
/// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
110-
/// You must authenticate using an access token with the `write:org` scope to use this endpoint.
111-
/// GitHub Apps must have the `admin:org` permission to use this endpoint.
110+
///
111+
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
112112
///
113113
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
114114
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.

Sources/oidc/Types.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ public protocol APIProtocol: Sendable {
1414
/// Get the customization template for an OIDC subject claim for an organization
1515
///
1616
/// Gets the customization template for an OpenID Connect (OIDC) subject claim.
17-
/// You must authenticate using an access token with the `read:org` scope to use this endpoint.
18-
/// GitHub Apps must have the `organization_administration:write` permission to use this endpoint.
17+
///
18+
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
1919
///
2020
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
2121
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
2222
func oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org(_ input: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Input) async throws -> Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output
2323
/// Set the customization template for an OIDC subject claim for an organization
2424
///
2525
/// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
26-
/// You must authenticate using an access token with the `write:org` scope to use this endpoint.
27-
/// GitHub Apps must have the `admin:org` permission to use this endpoint.
26+
///
27+
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
2828
///
2929
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
3030
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.
@@ -36,8 +36,8 @@ extension APIProtocol {
3636
/// Get the customization template for an OIDC subject claim for an organization
3737
///
3838
/// Gets the customization template for an OpenID Connect (OIDC) subject claim.
39-
/// You must authenticate using an access token with the `read:org` scope to use this endpoint.
40-
/// GitHub Apps must have the `organization_administration:write` permission to use this endpoint.
39+
///
40+
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
4141
///
4242
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
4343
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
@@ -53,8 +53,8 @@ extension APIProtocol {
5353
/// Set the customization template for an OIDC subject claim for an organization
5454
///
5555
/// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
56-
/// You must authenticate using an access token with the `write:org` scope to use this endpoint.
57-
/// GitHub Apps must have the `admin:org` permission to use this endpoint.
56+
///
57+
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
5858
///
5959
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
6060
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.
@@ -229,8 +229,8 @@ public enum Operations {
229229
/// Get the customization template for an OIDC subject claim for an organization
230230
///
231231
/// Gets the customization template for an OpenID Connect (OIDC) subject claim.
232-
/// You must authenticate using an access token with the `read:org` scope to use this endpoint.
233-
/// GitHub Apps must have the `organization_administration:write` permission to use this endpoint.
232+
///
233+
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
234234
///
235235
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
236236
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
@@ -363,8 +363,8 @@ public enum Operations {
363363
/// Set the customization template for an OIDC subject claim for an organization
364364
///
365365
/// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
366-
/// You must authenticate using an access token with the `write:org` scope to use this endpoint.
367-
/// GitHub Apps must have the `admin:org` permission to use this endpoint.
366+
///
367+
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
368368
///
369369
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
370370
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.

0 commit comments

Comments
 (0)