Ziack / Angular.Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular.Authentication

##Register API## http://ngauthenticationapi.azurewebsites.net/api/account/register | POST ###Headers###

Name Value
Accept application/json
Content-Type application/json

###Payload###

{
  "userName": "jdoe",
  "password": "SuperPass",
  "confirmPassword": "SuperPass"
}

##Authorization API## http://ngauthenticationapi.azurewebsites.net/token| POST

##Login##

###Headers###

Name Value
Accept application/json
Content-Type x-www-form-urlencoded

###Payload###

Name Value
grant_type password
username {username}
password {password}
client_id ngAuthApp

##Refresh##

###Headers###

Name Value
Accept application/json
Content-Type x-www-form-urlencoded

###Payload###

Name Value
refresh_token token
grant_type refresh_token
client_id ngAuthApp

##Orders API## http://ngauthenticationapi.azurewebsites.net/api/orders| GET ###Headers###

Name Value
Accept application/json
Content-Type application/json
Authorization Bearer {token}

About


Languages

Language:C# 48.3%Language:CSS 24.6%Language:JavaScript 15.7%Language:HTML 11.4%