org.wso2.carbon.identity.oauth.endpoint.util
Class OpenIDConnectUserRPStore

java.lang.Object
  extended by org.wso2.carbon.identity.oauth.endpoint.util.OpenIDConnectUserRPStore

public class OpenIDConnectUserRPStore
extends Object

Stores user consent on applications


Method Summary
static OpenIDConnectUserRPStore getInstance()
           
 boolean hasUserApproved(String username, String appName)
           
 void putUserRPToStore(String username, String appName, boolean trustedAlways)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OpenIDConnectUserRPStore getInstance()

putUserRPToStore

public void putUserRPToStore(String username,
                             String appName,
                             boolean trustedAlways)
                      throws org.apache.amber.oauth2.common.exception.OAuthSystemException
Parameters:
username -
appName -
Throws:
org.apache.amber.oauth2.common.exception.OAuthSystemException

hasUserApproved

public boolean hasUserApproved(String username,
                               String appName)
                        throws org.apache.amber.oauth2.common.exception.OAuthSystemException
Parameters:
username -
appName -
Returns:
Throws:
org.apache.amber.oauth2.common.exception.OAuthSystemException


Copyright © 2015 WSO2. All rights reserved.