|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoginUriProvider
Provides the URI to redirect users to for them to login before they can
authorize consumer requests to access their data.
| Method Summary | |
|---|---|
URI |
getLoginUri(URI returnUri)
Returns the URI to redirect users for login. |
URI |
getLoginUri(URI returnUri,
EnumSet<PageCapability> pageCaps)
Returns the URI to redirect users for login. |
URI |
getLoginUriForRole(URI returnUri,
UserRole role)
Returns the URI to redirect users for login. |
URI |
getLoginUriForRole(URI returnUri,
UserRole role,
EnumSet<PageCapability> pageCaps)
Returns the URI to redirect users for login. |
| Method Detail |
|---|
URI getLoginUri(URI returnUri)
URI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
returnUri - URI of the page the application should redirect the user to after login is complete
URI to redirect users for login
RuntimeException - if the returnUri is not a valid URI, or cannot be url encoded properly
URI getLoginUri(URI returnUri,
EnumSet<PageCapability> pageCaps)
URI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
returnUri - URI of the page the application should redirect the user to after login is completepageCaps - PageCapability for product to supply in login page.
URI to redirect users for login
RuntimeException - if the returnUri is not a valid URI, or cannot be url encoded properly
URI getLoginUriForRole(URI returnUri,
UserRole role)
URI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
Page is expected to redirect back to URI only if u
returnUri - URI of the page the application should redirect the user to after login is completerole - UserRole of user
URI to redirect users for login
RuntimeException - if the returnUri is not a valid URI, or cannot be url encoded properly
URI getLoginUriForRole(URI returnUri,
UserRole role,
EnumSet<PageCapability> pageCaps)
URI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
Page is expected to redirect back to URI only if u
This page is supposed to match requested PageCapability
returnUri - URI of the page the application should redirect the user to after login is completerole - UserRole of userpageCaps - PageCapability for product to supply in login page.
URI to redirect users for login
RuntimeException - if the returnUri is not a valid URI, or cannot be url encoded properly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||