View Source GitHub.Oidc (GitHub REST API Client v0.2.2)
Provides API endpoints related to oidc
Link to this section Summary
Functions
Get the customization template for an OIDC subject claim for an organization
Set the customization template for an OIDC subject claim for an organization
Link to this section Functions
@spec get_oidc_custom_sub_template_for_org( String.t(), keyword() ) :: {:ok, GitHub.OIDCCustomSub.t()} | {:error, GitHub.Error.t()}
Get the customization template for an OIDC subject claim for an organization
Gets the customization template for an OpenID Connect (OIDC) subject claim.
You must authenticate using an access token with the read:org
scope to use this endpoint.
GitHub Apps must have the organization_administration:write
permission to use this endpoint.
resources
Resources
@spec update_oidc_custom_sub_template_for_org( String.t(), GitHub.OIDCCustomSub.t(), keyword() ) :: {:ok, GitHub.EmptyObject.t()} | {:error, GitHub.Error.t()}
Set the customization template for an OIDC subject claim for an organization
Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
You must authenticate using an access token with the write:org
scope to use this endpoint.
GitHub Apps must have the admin:org
permission to use this endpoint.