Package io.jans.as.server.model.audit
Class OAuth2AuditLog
- java.lang.Object
-
- io.jans.as.server.model.audit.OAuth2AuditLog
-
public class OAuth2AuditLog extends Object
-
-
Constructor Summary
Constructors Constructor Description OAuth2AuditLog(String ip, Action action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction()
String
getClientId()
String
getIp()
String
getMacAddress()
String
getScope()
Date
getTimestamp()
String
getUsername()
boolean
isSuccess()
void
setClientId(String clientId)
void
setScope(String scope)
void
setSuccess(boolean success)
void
setUsername(String username)
void
updateOAuth2AuditLog(AuthorizationGrant authorizationGrant, boolean success)
-
-
-
Method Detail
-
updateOAuth2AuditLog
public void updateOAuth2AuditLog(AuthorizationGrant authorizationGrant, boolean success)
-
getIp
public String getIp()
-
getAction
public Action getAction()
-
getTimestamp
public Date getTimestamp()
-
getMacAddress
public String getMacAddress()
-
isSuccess
public boolean isSuccess()
-
setSuccess
public void setSuccess(boolean success)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
-