How to use Rally APIs for SSO authentication from C# desktop application - rally

I also tried REST API, but couldnt able to authrorize.
restApi = new RallyRestApi(mailId,"", "https://rally1.rallydev.com/", "v2.0");

There's a pretty thorough intro to using SSO with Rally's C# .NET dll in this prior answer:
How to SSO using Rally.RestApi.dll?
Note that the API has been updated substantially since this answer was posted, so you may need to adjust your code correspondingly.

Related

Auth0 login dialog with AuthenticationClient

I want to have a login dialog with Auth0 like this:
How can I write a javascript code to have this dialog? Is it possible to write the code using AuthenticationClient?
If you're looking to build a custom UI, you can use the Auth0js library. There is an example here of the Auth0js (select the Custom UI tab). Auth0js is the SDK used for interacting with the Auth0 Authentication API. What kind of application are you building or have you built that you want to integrate Auth0 into?
I'd also suggest reading up on Universal Login and Lock vs Custom UI. Feel free to checkout https://community.auth0.com/ you may find some threads there helpful, others who have implemented similar systems or even have better luck getting your questions answered if they are Auth0 specific.
Cheers!

Extracting Rest API from WebApp in Laravel

I built a web app in Laravel 5.2, and now, I would like to use Angular or Vue, so I am separating an API from my controllers.
Thing is actually, in my controllers, I use a lot :
Auth::user() to refer to the logged user.
What is the best way to deal with it???
Read books about API design. If the existing app isn't designed to be a RESTful API in the first place then you're in for a lot of learning. Laracasts has a great series called Incremental APIs.
Laracasts.com
Build APIs You Won't Hate
OK, I'm expanding my answer, despite this is not a great question, it is probably too broad. You need to look into Oauth 2.0 authentication for your API, you can still use a username and password, but OAuth 2.0 tokens over SSL is probably the best simple way to provide authentication for your API. If it is only used internally, or is read only then you may not really require authentication for the API at all. There's not enough information about your use case to even make a guess about that. Good luck!

Custom ID providers with Identity Toolkit?

Is there a way to add custom identity providers with the Google Identity Toolkit?
The default NASCAR doesn't support OpenID or Twitter. It appears that adding providers was possible in an old version of the toolkit, and that page indicates that they hoped to make doing so easier in future versions, but I can't find any mention of this in the new docs.
When I try to look directly at the quick-start code to figure how to do this, it appears that the NASCAR page is put together in gitkit.js, which is loaded remotely. (that said, the code is minified and complex, so it's hard to interpret) This would suggest that there's no simple way to do this?
I found a thread with what appears to be an ID Toolkit developer:
Identity Toolkit does not support adding OAuth2 providers, and there is no easy workaround.
Also:
We are currently experimenting with Twitter
So, it sounds like custom providers aren't yet an option (apparently even the original developers are having trouble adding Twitter), and they don't sound inclined to make custom providers an option:
Our set of identity providers covers the majority of social login usage.

Yodlee ASP.NET C# Integration

I have read a thread regarding Yodlee implementation and on one of the responses a user said "It is easy to intergrate your app with Yodlee API" How exactly is it easy to implement Yodlee and integrate it with an existing C# Web App? I don't mind getting dirty, but I would like to know how hard can it get and is there forums out there and enough developer support? Please assist urgently as we need to test and implement Yodlee before the end of the month also note I am new to Yodlee and API integration.
Thanx in advance
You may not need to get dirty at all. It is so simple to implement Yodlee in any .net language. Yodlee provide a client library for .net as well, all you need to do is to wrap your business logic around the library. On other hand if you wish to take greater control of api calling as well, you will be provided wsdl proxies to the web services, code what ever way you feel good with it.

How to called google earth function using vb

i build a software using vb , and now , i want to call some function in google earth ,
what can i do ,
thanks
The Google Earth API is JavaScript based, so it doesn't matter what your server is written in; just write the JavaScript you want in your client web-pages.
If you are not writing a web page, this is probably the wrong API. For rich clients, consider things like MapPoint.
If you are using winforms then you could always add the type library and then call the COM functions as required.
http://earth.google.com/comapi/
That said the COM API is now depreciated so developing for it might be a waste of time...
http://www.gearthblog.com/blog/archives/2010/09/the_google_earth_com_api_is_being_p.html
It is now recommended to use the javascript api for Google Earth applcations - you can see an example control library for windows applications using the js api here, it is .NET but c# rather than VB -
http://code.google.com/p/winforms-geplugin-control-library/
Google seems determined to push people off the COM API, as every "link" to documentation gets redirected to the same "Sunset for the Google Earth COM API" Google Geo Developers Blog.
8-/
I'm curious why Google hasn't developed a better and clearer API to GE. I presume it's something marketing related. It seems to me they'd really capture a larger development audience with a straight-forward, simplistic API. I find some of the calls a little head scratching.
In any event, has someone created any kind of .NET wrapper class to abstract the JS API? I've been rooting around looking for one, but so far no go.