Custom Authentication ViewController on iOS

18 Aufrufe
Direkt zur ersten ungelesenen Nachricht

al...@tiptopspeakers.com

ungelesen,
07.03.2014, 13:53:5007.03.14
an rdio...@googlegroups.com
Is it possible to authenticate a user from a custom viewController rather than using the modal popover provided with the Rdio framework?

Devin Sevilla

ungelesen,
14.03.2014, 02:13:0914.03.14
an rdio...@googlegroups.com
Hi Alex!

Yes, you can authenticate without using the built-in modal popover.
You'll need to implement the OAuth 1.0a flow yourself[1]. The built-in
flow is meant as a connivence since OAuth can be difficult to get
right.

Once you've authenticated the user and received an access token and
secret, you can initialize the SDK with it. You'll use the
`authorizeUsingAccessToken:fromController:` method.

[1]: http://www.rdio.com/developers/docs/web-service/oauth/

--
Devin Sevilla
API Engineer, Rdio Inc.
http://rdio.com/people/devin_s/

On Fri, Mar 7, 2014 at 12:53 PM, <al...@tiptopspeakers.com> wrote:
> Is it possible to authenticate a user from a custom viewController rather
> than using the modal popover provided with the Rdio framework?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rdio API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rdio-api+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rdio-api/a8c457a2-a458-49e1-ae3c-2cd4efb2c3fa%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Darci Sigana

ungelesen,
28.03.2014, 03:44:4928.03.14
an rdio...@googlegroups.com
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten