Modifier and Type | Method and Description |
---|---|
void |
addCodeToMap(String sessionId,
String code,
String error)
Method to add authCode to the map when user accept the consent.
|
AuthCode |
getAuthCodeForSession(String sessionId)
This method will return the auth code object associated with the session.
|
static CodeHolder |
getInstance()
Method to return the instance.
|
void |
run() |
public static CodeHolder getInstance()
public void addCodeToMap(String sessionId, String code, String error)
sessionId
- code
- error
- public AuthCode getAuthCodeForSession(String sessionId)
sessionId
- Copyright © 2018 WSO2. All rights reserved.