C# 클래스 Esri.ArcGISRuntime.Toolkit.Security.OAuthAuthorizeHandler

WinPhone OAuthAuthorize handler which encapsulates the redirection of the user to the OAuth authorization URI by using a WebView.
상속: IOAuthAuthorizeHandler
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-dotnet

공개 메소드들

메소드 설명
AuthorizeAsync ( string serviceUri, string authorizeUri, string callbackUri ) : string>>.Task

Redirects the user to the authorization URI by using a WebBrowser.

비공개 메소드들

메소드 설명
AuthorizeOnUIThread ( string authorizeUri ) : void
DecodeParameters ( Uri uri ) : string>.IDictionary

Decodes the parameters returned when the user agent is redirected to the callback url The parameters can be returned as fragments (e.g. access_token for Browser based app) or as query parameter (e.g. code for Server based app)

OnWindowClosed ( object sender, EventArgs e ) : void
WebBrowserOnNavigating ( object sender, NavigatingCancelEventArgs e ) : void

메소드 상세

AuthorizeAsync() 공개 메소드

Redirects the user to the authorization URI by using a WebBrowser.
public AuthorizeAsync ( string serviceUri, string authorizeUri, string callbackUri ) : string>>.Task
serviceUri string The service URI.
authorizeUri string The authorize URI.
callbackUri string The callback URI.
리턴 string>>.Task