Custom Authentication ViewController on iOS

瀏覽次數:18 次
跳到第一則未讀訊息

al...@tiptopspeakers.com

未讀,
2014年3月7日 下午1:53:502014/3/7
收件者: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

未讀,
2014年3月14日 凌晨2:13:092014/3/14
收件者: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

未讀,
2014年3月28日 凌晨3:44:492014/3/28
收件者:rdio...@googlegroups.com
回覆所有人
回覆作者
轉寄
0 則新訊息