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 Boolean
getAuthorized()
Integer[]
getOrganizations()
String
getTenantId()
Integer
getUserId()
boolean
hasExpired()
void
setAuthorized(Boolean authorized)
void
setExpiresIn(Date expiresIn)
void
setOrganizations(Integer[] organizations)
void
setTenantId(String tenantId)
void
setUserId(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()
-
-