GET api/Account/ManageInfo?returnUrl={returnUrl}&generateState={generateState}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
returnUrl | string |
Required |
|
generateState | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ManageInfoViewModelName | Description | Type | Additional information |
---|---|---|---|
LocalLoginProvider | string |
None. |
|
string |
None. |
||
Logins | Collection of UserLoginInfoViewModel |
None. |
|
ExternalLoginProviders | Collection of ExternalLoginViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "localLoginProvider": "sample string 1", "email": "sample string 2", "logins": [ { "loginProvider": "sample string 1", "providerKey": "sample string 2" }, { "loginProvider": "sample string 1", "providerKey": "sample string 2" } ], "externalLoginProviders": [ { "name": "sample string 1", "url": "sample string 2", "state": "sample string 3" }, { "name": "sample string 1", "url": "sample string 2", "state": "sample string 3" } ] }
application/xml, text/xml
Sample:
<ManageInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewPortal.Models"> <Email>sample string 2</Email> <ExternalLoginProviders> <ExternalLoginViewModel> <Name>sample string 1</Name> <State>sample string 3</State> <Url>sample string 2</Url> </ExternalLoginViewModel> <ExternalLoginViewModel> <Name>sample string 1</Name> <State>sample string 3</State> <Url>sample string 2</Url> </ExternalLoginViewModel> </ExternalLoginProviders> <LocalLoginProvider>sample string 1</LocalLoginProvider> <Logins> <UserLoginInfoViewModel> <LoginProvider>sample string 1</LoginProvider> <ProviderKey>sample string 2</ProviderKey> </UserLoginInfoViewModel> <UserLoginInfoViewModel> <LoginProvider>sample string 1</LoginProvider> <ProviderKey>sample string 2</ProviderKey> </UserLoginInfoViewModel> </Logins> </ManageInfoViewModel>