Package com.totvs.tjf.security.oauth2
Class HasAccess
- java.lang.Object
-
- com.totvs.tjf.security.oauth2.HasAccess
-
public class HasAccess extends Object
-
-
Constructor Summary
Constructors Constructor Description HasAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAuthorized()Integer[]getOrganizations()StringgetTenantId()IntegergetUserId()booleanhasExpired()voidsetAuthorized(Boolean authorized)voidsetExpiresIn(Date expiresIn)voidsetOrganizations(Integer[] organizations)voidsetTenantId(String tenantId)voidsetUserId(Integer userId)
-
-
-
Method Detail
-
getUserId
public Integer getUserId()
-
setUserId
public void setUserId(Integer userId)
-
getTenantId
public String getTenantId()
-
setTenantId
public void setTenantId(String tenantId)
-
getOrganizations
public Integer[] getOrganizations()
-
setOrganizations
public void setOrganizations(Integer[] organizations)
-
getAuthorized
public Boolean getAuthorized()
-
setAuthorized
public void setAuthorized(Boolean authorized)
-
setExpiresIn
public void setExpiresIn(Date expiresIn)
-
hasExpired
public boolean hasExpired()
-
-