[−][src]Function safe_authenticator::app_auth::authenticate
pub async fn authenticate<'_>(
client: &'_ AuthClient,
auth_req: AuthReq
) -> Result<AuthGranted, AuthError>
Authenticate an app request.
First, this function searches for an app info in the access container.
If the app is found, then the AuthGranted
struct is returned based on that information.
If the app is not found in the access container, then it will be authenticated.