pub async fn apps_slash_check_token(
configuration: &Configuration,
client_id: &str,
apps_check_token_request: AppsCheckTokenRequest,
) -> Result<Authorization, Error<AppsSlashCheckTokenError>>
Expand description
OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use Basic Authentication to use this endpoint, where the username is the application client_id
and the password is its client_secret
. Invalid tokens will return 404 NOT FOUND
.