com.atlassian.sal.api.auth
Interface LoginUriProvider
public interface LoginUriProvider
Provides the URI
to redirect users to for them to login before they can
authorize consumer requests to access their data.
- Since:
- 2.0
Method Summary |
URI |
getLoginUri(URI returnUri)
Returns the URI to redirect users for login. |
getLoginUri
URI getLoginUri(URI returnUri)
- Returns the
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.
- Parameters:
returnUri
- URI
of the page the application should redirect the user to after login is complete
- Returns:
- the
URI
to redirect users for login
- Throws:
RuntimeException
- if the returnUri is not a valid URI, or cannot be url encoded properly
Copyright © 2010 Atlassian. All Rights Reserved.