GET api/Account/ExternalLogins?returnUrl={returnUrl}&generateState={generateState}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
returnUrl

string

Required

generateState

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of ExternalLoginViewModel
NameDescriptionTypeAdditional 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/Specialtys.SpecialtysApi2.Models">
  <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>