public interface UserAuthorisationCache
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the user authorisation cache.
|
Boolean |
isPermitted(User user,
String applicationName)
Returns whether the user is permitted to authenticate with the application.
|
void |
setPermitted(User user,
String applicationName,
boolean permitted)
Sets whether the user is permitted to authenticate with the application.
|
void setPermitted(User user, String applicationName, boolean permitted)
user - the user to cache foreapplicationName - name of the application to authenticatepermitted - set to true if the user is allowed to authenticate with the application, otherwise false.@Nullable Boolean isPermitted(User user, String applicationName)
user - the user to check forapplicationName - name of the application the user is authenticating againstvoid clear()
Copyright © 2022 Atlassian. All rights reserved.