Auth.Api

<back to all web services

PasswordRecoveryDTO

The following routes are available for this service:
GET/password-recovery
PasswordRecoveryDTO Parameters:
NameParameterData TypeRequiredDescription
PublicKeyquerystringNo
TokenquerystringNo
PasswordRecoveryDTOResponse Parameters:
NameParameterData TypeRequiredDescription
PublicKeyformstringNo
TokenformstringNo
UsersformUsersNo
LoginDesignformLoginDesignNo
LayoutResponse Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
Users Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FirstNameformstringNo
LastNameformstringNo
IsEnabledformboolNo
RecordStatusIdformintNo
TwoFactorEnabledformboolNo
PhoneNumberConfirmedformboolNo
PhoneNumberformstringNo
SecurityStampformstringNo
EmailConfirmedformboolNo
NormalizedEmailformstringNo
EmailformstringNo
NormalizedUserNameformstringNo
UsernameformstringNo
LockoutEnabledformboolNo
AccessFailedCountformintNo
ApplicationLanguagesIdformint?No
TimezonesIdformint?No
LoginDesign Parameters:
NameParameterData TypeRequiredDescription
logoformstringNo
bgColorformstringNo
textColorformstringNo
mainColorformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /password-recovery HTTP/1.1 
Host: auth.mepis.si 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	publicKey: String,
	token: String,
	users: 
	{
		id: 0,
		firstName: String,
		lastName: String,
		isEnabled: False,
		recordStatusId: 0,
		twoFactorEnabled: False,
		phoneNumberConfirmed: False,
		phoneNumber: String,
		securityStamp: String,
		emailConfirmed: False,
		normalizedEmail: String,
		email: String,
		normalizedUserName: String,
		username: String,
		lockoutEnabled: False,
		accessFailedCount: 0,
		applicationLanguagesId: 0,
		timezonesId: 0
	},
	loginDesign: 
	{
		logo: String,
		bgColor: String,
		textColor: String,
		mainColor: String
	},
	title: String
}