GET api/Account/ExternalLogins?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
Collection of ExternalLoginViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Url | string |
None. |
|
State | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Url": "sample string 2", "State": "sample string 3" }, { "Name": "sample string 1", "Url": "sample string 2", "State": "sample string 3" } ]
text/html
Sample:
[{"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:
<ArrayOfExternalLoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSushant"> <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> </ArrayOfExternalLoginViewModel>
multipart/form-data
Sample:
<ArrayOfExternalLoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSushant"><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></ArrayOfExternalLoginViewModel>