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 |
---|---|---|---|
string |
None. |
||
ExternalLoginProviders | Collection of ExternalLoginViewModel |
None. |
|
LocalLoginProvider | string |
None. |
|
Logins | Collection of UserLoginInfoViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "ExternalLoginProviders": [ { "Name": "sample string 1", "State": "sample string 2", "Url": "sample string 3" }, { "Name": "sample string 1", "State": "sample string 2", "Url": "sample string 3" } ], "LocalLoginProvider": "sample string 2", "Logins": [ { "LoginProvider": "sample string 1", "ProviderKey": "sample string 2" }, { "LoginProvider": "sample string 1", "ProviderKey": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ManageInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediProvider.Models"> <Email>sample string 1</Email> <ExternalLoginProviders> <ExternalLoginViewModel> <Name>sample string 1</Name> <State>sample string 2</State> <Url>sample string 3</Url> </ExternalLoginViewModel> <ExternalLoginViewModel> <Name>sample string 1</Name> <State>sample string 2</State> <Url>sample string 3</Url> </ExternalLoginViewModel> </ExternalLoginProviders> <LocalLoginProvider>sample string 2</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>