@Component public class CognitoContext extends Object
| Constructor and Description |
|---|
CognitoContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertLoggedIn() |
String |
getCurrentSubject() |
CognitoUser |
getCurrentUser() |
boolean |
hasRole(String role) |
boolean |
isLoggedIn() |
void |
setContext(DvalinRSContext context) |
@Autowired public void setContext(DvalinRSContext context)
public CognitoUser getCurrentUser()
public String getCurrentSubject()
public void assertLoggedIn()
public boolean hasRole(String role)
public boolean isLoggedIn()
Copyright © 2016–2023 Taimos GmbH. All rights reserved.