View Source GitHub.Oidc (GitHub REST API Client v0.3.0)
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.
OAuth app tokens and personal access tokens (classic) need the read:org
scope 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.
OAuth app tokens and personal access tokens (classic) need the write:org
scope to use this endpoint.