StarterTemplate ASP.NET Host

<back to all web services

UserAuths

The following routes are available for this service:
All Verbs/userauths

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

HTTP + JSV

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

POST /jsv/reply/UserAuths HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: text/jsv
Content-Length: length

{
	ids: 
	[
		0
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	userSession: 
	{
		customId: String,
		referrerUrl: String,
		id: String,
		userAuthId: String,
		userAuthName: String,
		userName: String,
		twitterUserId: String,
		twitterScreenName: String,
		facebookUserId: String,
		facebookUserName: String,
		firstName: String,
		lastName: String,
		displayName: String,
		email: String,
		primaryEmail: String,
		birthDate: 0001-01-01,
		birthDateRaw: String,
		country: String,
		culture: String,
		fullName: String,
		gender: String,
		language: String,
		mailAddress: String,
		nickname: String,
		postalCode: String,
		timeZone: String,
		requestTokenSecret: String,
		createdAt: 0001-01-01,
		lastModified: 0001-01-01,
		providerOAuthAccess: 
		[
			{
				
			}
		],
		roles: 
		[
			String
		],
		permissions: 
		[
			String
		],
		isAuthenticated: False,
		sequence: String
	},
	users: 
	[
		{
			id: 0,
			email: String,
			userName: String,
			displayName: String,
			twitterUserId: String,
			twitterScreenName: String,
			twitterName: String,
			facebookName: String,
			facebookFirstName: String,
			facebookLastName: String,
			facebookUserId: String,
			facebookUserName: String,
			facebookEmail: String,
			googleUserId: String,
			googleFullName: String,
			googleEmail: String,
			yahooUserId: String,
			yahooFullName: String,
			yahooEmail: String,
			gravatarImageUrl64: String
		}
	],
	userAuths: 
	[
		{
			id: 0,
			userName: String,
			email: String,
			primaryEmail: String,
			firstName: String,
			lastName: String,
			displayName: String,
			birthDate: 0001-01-01,
			birthDateRaw: String,
			country: String,
			culture: String,
			fullName: String,
			gender: String,
			language: String,
			mailAddress: String,
			nickname: String,
			postalCode: String,
			timeZone: String,
			salt: String,
			passwordHash: String,
			digestHA1Hash: String,
			roles: 
			[
				String
			],
			permissions: 
			[
				String
			],
			createdDate: 0001-01-01,
			modifiedDate: 0001-01-01,
			refId: 0,
			refIdStr: String,
			meta: 
			{
				String: String
			}
		}
	],
	oAuthProviders: 
	[
		{
			id: 0,
			userAuthId: 0,
			provider: String,
			userId: String,
			userName: String,
			fullName: String,
			displayName: String,
			firstName: String,
			lastName: String,
			email: String,
			birthDate: 0001-01-01,
			birthDateRaw: String,
			country: String,
			culture: String,
			gender: String,
			language: String,
			mailAddress: String,
			nickname: String,
			postalCode: String,
			timeZone: String,
			refreshToken: String,
			refreshTokenExpiry: 0001-01-01,
			requestToken: String,
			requestTokenSecret: String,
			items: 
			{
				String: String
			},
			accessToken: String,
			accessTokenSecret: String,
			createdDate: 0001-01-01,
			modifiedDate: 0001-01-01,
			refId: 0,
			refIdStr: String,
			meta: 
			{
				String: String
			}
		}
	]
}