[][src]Function open_api_hydra::apis::admin_api::flush_inactive_o_auth2_tokens

pub async fn flush_inactive_o_auth2_tokens<'_>(
    configuration: &'_ Configuration,
    body: Option<FlushInactiveOAuth2TokensRequest>
) -> Result<(), Error<FlushInactiveOAuth2TokensError>>

This endpoint flushes expired OAuth2 access tokens from the database. You can set a time after which no tokens will be not be touched, in case you want to keep recent tokens for auditing. Refresh tokens can not be flushed as they are deleted automatically when performing the refresh flow.