Additional updates to PAT buffered expiration flow

What does this MR do and why?

Fix the placeholder text for the maximum length of the PAT token in the documentation string for the EE feature that sets the maximum allowable days for a token.

Add in a "max" attribute that limits the value here to the maximum value controlled by the buffer_token_expiration_limit.

Introduce a class method for the checking of the timeout and consolidate the other places where this check is used to use this class method.

See issue: #508151 (closed)

EE: true Changelog: fixed

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Eduardo Sanz García

Merge request reports

Loading