Custom Authentication ViewController on iOS

18 views
Skip to first unread message

al...@tiptopspeakers.com

unread,
Mar 7, 2014, 1:53:50 PM3/7/14
to 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

unread,
Mar 14, 2014, 2:13:09 AM3/14/14
to 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

unread,
Mar 28, 2014, 3:44:49 AM3/28/14
to rdio...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages