|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.microsoft.aad.adal.WebviewHelper
public class WebviewHelper
Wrapper class to handle internals for request intent and response for custom webview usage.
| Nested Class Summary | |
|---|---|
static class |
WebviewHelper.PreKeyAuthInfo
|
| Constructor Summary | |
|---|---|
WebviewHelper(android.content.Intent requestIntent)
Construct with incoming requestIntent that you receive at startActivityForResult. |
|
| Method Summary | |
|---|---|
WebviewHelper.PreKeyAuthInfo |
getPreKeyAuthInfo(String challengeUrl)
|
String |
getRedirectUrl()
Gets redirect url to tell the webview to stop before navigating. |
android.content.Intent |
getResultIntent(String finalUrl)
Creates result intent to pass into onActivityResult method. |
String |
getStartUrl()
Gets startUrl to use as url to start webview. |
void |
validateRequestIntent()
Check request intent fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebviewHelper(android.content.Intent requestIntent)
requestIntent - Intent that has request information.| Method Detail |
|---|
public void validateRequestIntent()
public String getStartUrl()
throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String getRedirectUrl()
public android.content.Intent getResultIntent(String finalUrl)
finalUrl -
public WebviewHelper.PreKeyAuthInfo getPreKeyAuthInfo(String challengeUrl)
throws UnsupportedEncodingException
UnsupportedEncodingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||