Hi Emilio,

Please find the comments in line.

On Thu, Mar 1, 2012 at 12:24 AM, Emilio Dias <[email protected]> wrote:

> Hi,
>
>
> Hello, I'm developing some applications using OAuth, OpenID and SAML SSO and
> I need to use some API so that I can interact with the Identity Server.


Yes, Most of the functionalities provided by Identity Server, are exposed
as Web Services.

For exampleHow I do validation of the oauth token in my service?


Web service APIs for registering and validating OAuth tokens can be found
at [1] and [2] respectively, as per 3.2.3 IS release.


> How I show the permissions of my users?


There are two user management APIs through which you can obtain the
permissions assigned to a role..(by default, carbon has a role based
permission model)
1. UserAdmin API [3] - mainly used by carbon admin console
2. Remote User Management API[4] - recommended to be used by external
client applications.

[1]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/identity/org.wso2.carbon.identity.oauth/3.2.1/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java
[2]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/identity/org.wso2.carbon.identity.oauth/3.2.1/src/main/java/org/wso2/carbon/identity/oauth/OAuthService.java
[3]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/core/org.wso2.carbon.user.mgt/3.2.0/src/main/java/org/wso2/carbon/user/mgt/UserAdmin.java
[4]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/remote-usermgt/org.wso2.carbon.um.ws.api/

HTH.

Thanks,
Hasini.

>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to