-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I configure a simple login? #55
Comments
There are several code snippets in the EntitlementView documentation that show some of the simplest use cases. https://github.com/rokudev/SceneGraphDeveloperExtensions/blob/master/documentation/1-components.md#entitlementview If you're interested in username/password authentication, this one is probably the most helpful...
|
yes, but I don't understand when it says create the view .. at that point, what would I have to create? |
The view in this case is an SGDEX EntitlementView. It's created by this line of code...
The only other thing you need to do is build an EntitlementHandler similar to the one in the RokuPay sample. In that handler, you should define a function called
|
thanks you! |
It is possible to create a custom task for login? |
Yes it is. Our recommendation would be to use EntitlementView and EntitlementHandler for authentication. But if those don't meet your requirements, you can certainly build whatever custom Tasks you need for your channel. |
I try now, thanks for the answer :) |
I got it! but if I want to logout and delete all stack of navigation what can I do? @RokuChris |
Each view has close and wasClosed fields that you can set and observe respectively to manage the stack. |
somethings like this ?
Cause after I logged out , I stil lhave the button bar stuff |
I still have the same problem
Il giorno mar 27 lug 2021 alle ore 19:16 RokuChris ***@***.***>
ha scritto:
… Each view has *close* and *wasClosed* fields that you can set and observe
respectively to manage the stack.
https://github.com/rokudev/SceneGraphDeveloperExtensions/blob/master/documentation/1-components.md#sgdexcomponent
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLUZA3QZTSOMXRMFQMNSZLTZ3SVXANCNFSM4UUDA2VA>
.
--
*Allan Nava*
direct: +39 340 94 77 141
***@***.*** ***@***.***>*
|
It would be nice to create a simple login example without much logic.
The text was updated successfully, but these errors were encountered: