Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 628 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 628 Bytes

SecureRESTWithOAuth

http://localhost:8080/SecureRESTWithOAuth/oauth/token?grant_type=password&client_id=fbApp&client_secret=fbApp&username=admin&password=123

{  
    "value":"a7718567-6e38-4be3-aa41-382c90e042e0",
    "expiration":1505631027817,
    "tokenType":"bearer",
    "refreshToken":{  
        "value":"7792b077-7ae0-427e-8170-8b1440e5fefd",
        "expiration":1508222907814
    },
    "scope":[  

    ],
    "additionalInformation":{  

    },
    "expiresIn":109,
    "expired":false
}

http://localhost:8080/SecureRESTWithOAuth/api/Employee/abhimanyu?access_token=a7718567-6e38-4be3-aa41-382c90e042e0