Skip navigation links

Oracle Fusion Middleware Java API Reference for the Oracle Access Management OAuth Service
11g Release 2 Patch Set 3 (11.1.2.3)

E59498-01


oracle.security.idaas.oauth.client
Interface ClientScopeWritableProfile

All Superinterfaces:
ClientScopeProfile

public interface ClientScopeWritableProfile
extends ClientScopeProfile

Method Summary

 void addAllowedResourceServer(java.lang.String allowedResourceServer)
          Add a client allowed resource servers
 void addAllowedScope(java.lang.String allowedScope)
          Add the client allowed scope
 void setAllowedResourceServers(java.util.Collection<java.lang.String> allowedResourceServers)
          Set a collection of client allowed resource servers EMPTY Collection is set if the allowed resource server scopes are not defined
 void setAllowedScopes(java.util.Collection<java.lang.String> allowedScopes)
          Set a collection of client allowed scopes EMPTY collection is set when none of scopes are allowed for the client
 void setAnyScopeAllowed(boolean anyScopeAllowed)
          Set whether any scope can be allowed by the client
 void setUserConsentRequired(boolean userConsentRequired)
          Set the client requires User Consent or not

  Methods inherited from interface oracle.security.idaas.oauth.client.ClientScopeProfile

getAllowedResourceServers, getAllowedScopes, isAnyScopeAllowed, isUserConsentRequired

 

Method Detail

setUserConsentRequired

void setUserConsentRequired(boolean userConsentRequired)
Set the client requires User Consent or not
Parameters:
userConsentRequired - - true if the client required user consent

setAnyScopeAllowed

void setAnyScopeAllowed(boolean anyScopeAllowed)
Set whether any scope can be allowed by the client
Parameters:
anyScopeAllowed - - true/false

setAllowedResourceServers

void setAllowedResourceServers(java.util.Collection<java.lang.String> allowedResourceServers)
Set a collection of client allowed resource servers EMPTY Collection is set if the allowed resource server scopes are not defined
Parameters:
allowedResourceServers - - a collection of client allowed resource servers

addAllowedResourceServer

void addAllowedResourceServer(java.lang.String allowedResourceServer)
Add a client allowed resource servers
Parameters:
allowedResourceServer - - the client allowed resource servers

setAllowedScopes

void setAllowedScopes(java.util.Collection<java.lang.String> allowedScopes)
Set a collection of client allowed scopes EMPTY collection is set when none of scopes are allowed for the client
Parameters:
allowedScopes - - a collection of client allowed scopes

addAllowedScope

void addAllowedScope(java.lang.String allowedScope)
Add the client allowed scope
Parameters:
allowedScope - - allowed Scope

Skip navigation links

Copyright (c) 2014, 2015,
Oracle and/or its affiliates. All Rights Reserved.