public interface OAuthConsumerRegistration
Modifier and Type | Method and Description |
---|---|
OAuthConsumer |
registerConsumer(String consumerKey,
String displayName,
String connectURI)
Creates a new OAuth Consumer
|
void |
registerConsumerPermissions(String consumerKey,
String[] permissions)
Registers Consumer Permissions
|
void |
registerConsumerScopes(String consumerKey,
String[] scopes)
Registers Consumer Scopes
|
OAuthConsumer registerConsumer(String consumerKey, String displayName, String connectURI) throws OAuthException
consumerKey
- the Consumer key.OAuthException
- thrown if Consumer can not be registered.void registerConsumerScopes(String consumerKey, String[] scopes) throws OAuthException
consumerKey
- the Consumer key.OAuthException
- thrown if scopes can not be registered.void registerConsumerPermissions(String consumerKey, String[] permissions) throws OAuthException
consumerKey
- the Consumer key.OAuthException
- thrown if permissions can not be registered.Copyright © 2015 JBoss by Red Hat. All rights reserved.