{"info":{"_postman_id":"42ca00c1-594b-4768-abd3-62ba99524986","name":"VGIdentityServer 2020","description":"<html><head></head><body><p>It contains API documentation. How to use VGIdentityServer?</p>\n<p>You can have more information on <a href=\"https://docs.visual-guard.com/\">https://docs.visual-guard.com/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25890945","collectionId":"42ca00c1-594b-4768-abd3-62ba99524986","publishedId":"2s93Y3tzdN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-20T12:34:19.000Z"},"item":[{"name":"Authenticate","item":[{"name":"Visual-Guard User","item":[{"name":"Authenticate with VG User","event":[{"listen":"prerequest","script":{"id":"1f28f5e7-bd7e-4f65-9807-a527ac52f72c","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"d93ecf26-1eea-45d9-94b2-13d70d2f2ef4","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"34bb341d-3b24-49d4-bb14-b5683b5a516d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","type":"text","description":"<p>Username or login</p>\n"},{"key":"Password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved. </p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"VisualGuard","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Authenticates a visual-guard user.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34bb341d-3b24-49d4-bb14-b5683b5a516d"}],"id":"8e7163cf-d74a-4c6e-8765-0091204e5f29","description":"<p>Authentication of VisualGuard user accounts</p>\n","_postman_id":"8e7163cf-d74a-4c6e-8765-0091204e5f29"},{"name":"Windows","item":[{"name":"Authenticate with Windows by credential","event":[{"listen":"prerequest","script":{"id":"c1ce5311-8360-49a2-ae07-8a2f1ba879cc","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"5207e73c-7db6-436b-8ea8-38cd5d9c31b5","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"68761ea4-8ab3-4620-a15c-9b49d0102816","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","description":"<p>Username or login</p>\n"},{"key":"Password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved. </p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Windows","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Authenticates a windows by credential user.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"68761ea4-8ab3-4620-a15c-9b49d0102816"},{"name":"Authenticate with Windows","event":[{"listen":"prerequest","script":{"id":"c1ce5311-8360-49a2-ae07-8a2f1ba879cc","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"5207e73c-7db6-436b-8ea8-38cd5d9c31b5","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"96ff94a8-d8f6-484c-b6d6-2f6e7b12ffdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","description":"<p>Username or login</p>\n"},{"key":"Password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved. </p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Windows","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Authenticates a windows by credential user.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"96ff94a8-d8f6-484c-b6d6-2f6e7b12ffdf"}],"id":"4e36c32e-9939-4402-ad60-bd94b27f83af","description":"<p>Authentication of Windows By credential user accounts</p>\n","_postman_id":"4e36c32e-9939-4402-ad60-bd94b27f83af"},{"name":"Database","item":[{"name":"Authenticate with Database User","event":[{"listen":"prerequest","script":{"id":"bb831d51-a13c-45bc-8657-83bab2ed0ce2","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"ddd3e54c-7eca-4df4-b934-5c8b90b95c89","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"86852959-604f-46b1-b074-38cef9a237b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","description":"<p>The upn of the user that wants to log in.</p>\n"},{"key":"password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved. </p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Database","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Authenticates with database user.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86852959-604f-46b1-b074-38cef9a237b4"}],"id":"3b162b7b-653a-404d-9d8f-d1a3656dbc0f","description":"<p>Authentication of Database user accounts</p>\n","_postman_id":"3b162b7b-653a-404d-9d8f-d1a3656dbc0f"},{"name":"Password Less","item":[{"name":"PL_EMAIL_OTP","item":[{"name":"1 PL_Send_EMAIL_OTP","event":[{"listen":"prerequest","script":{"id":"a7d5b62f-ef92-4c03-b714-26c94da1e4b0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"f871b992-de66-441b-b58f-5ce6a5bc96c5","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"7d725af0-eb71-4595-a37e-60563eae151b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","type":"text","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"SendOTP","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"OTP","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"Email","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a request to ask for the OTP (Transport mode - Email)</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d725af0-eb71-4595-a37e-60563eae151b"},{"name":"2 PL_Authenticate_EMAIL_OTP","event":[{"listen":"prerequest","script":{"id":"f1fd4273-7523-4f4f-ba95-d7478296a033","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"23e47cd3-be3a-46fe-a437-99d9cb0e2765","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"a30b9e63-5b54-4dcf-96a1-6276483cf17e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"AuthenticateOTP","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"OTP","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"Email","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"},{"key":"MFASecureCode","value":"545227","type":"text","description":"<p>MFA Secure Code (OTP)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a request for authentication of OTP (Transport mode - Email)</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a30b9e63-5b54-4dcf-96a1-6276483cf17e"}],"id":"3584fb79-9281-48f8-9870-bd17bafe0ab8","_postman_id":"3584fb79-9281-48f8-9870-bd17bafe0ab8","description":""},{"name":"PL_SMS_OTP","item":[{"name":"1 PL_Send_SMS_OTP","event":[{"listen":"prerequest","script":{"id":"a7d5b62f-ef92-4c03-b714-26c94da1e4b0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"f871b992-de66-441b-b58f-5ce6a5bc96c5","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"7c917560-d200-45b5-baca-a81551f7a80d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","type":"text","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"SendOTP","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"OTP","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"SMS","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a request to ask for the OTP (Transport mode - Email)</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c917560-d200-45b5-baca-a81551f7a80d"},{"name":"2 PL_Authenticate_SMS_OTP","event":[{"listen":"prerequest","script":{"id":"f1fd4273-7523-4f4f-ba95-d7478296a033","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"23e47cd3-be3a-46fe-a437-99d9cb0e2765","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"32b2521f-9244-4f7c-a24a-b112f87e42b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"AuthenticateOTP","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"OTP","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"SMS","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"},{"key":"MFASecureCode","value":"545227","type":"text","description":"<p>MFA Secure Code (OTP)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a request for authentication of OTP (Transport mode - Email)</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32b2521f-9244-4f7c-a24a-b112f87e42b9"}],"id":"4335e71c-2181-4616-8d6e-01a283c6fb6e","_postman_id":"4335e71c-2181-4616-8d6e-01a283c6fb6e","description":""},{"name":"PL_EMAIL_LINK","item":[{"name":"1 PL_Send_EMAIL_Link","event":[{"listen":"prerequest","script":{"id":"39eeb288-10dc-43fe-9d09-2fb271dbdf5c","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"b8d3a3b7-1bcd-4d7a-b3e4-c67641bf194d","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"69dddff6-b41a-4ce6-817a-94b9001f0d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"SendLink","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"Link","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"Email","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a requeset for authentication via Link (TransportMode - Email).</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69dddff6-b41a-4ce6-817a-94b9001f0d32"}],"id":"9b908a04-8d65-40a9-b3fd-65f59c0ab06f","_postman_id":"9b908a04-8d65-40a9-b3fd-65f59c0ab06f","description":""},{"name":"PL_SMS_LINK","item":[{"name":"1 PL_Send_SMS_Link","event":[{"listen":"prerequest","script":{"id":"39eeb288-10dc-43fe-9d09-2fb271dbdf5c","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"b8d3a3b7-1bcd-4d7a-b3e4-c67641bf194d","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"1364421b-f381-4c83-9b19-58f868723ee4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"pwdlesstest","type":"text","description":"<p>Username or login</p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"Passwordless","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"},{"key":"MFAAction","value":"SendLink","type":"text","description":"<p>MFA Action (ex. SendOTP,SendLink,AuthenticateOTP,CancelOTP,CancelLink)</p>\n"},{"key":"MFAAuthenticationMode","value":"Link","type":"text","description":"<p>MFA Authentication mode (ex. Link,OTP)</p>\n"},{"key":"MFATransportMode","value":"SMS","type":"text","description":"<p>MFA Transportation mode (ex. SMS,Email)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>It sends a requeset for authentication via Link (TransportMode - Email).</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1364421b-f381-4c83-9b19-58f868723ee4"}],"id":"09254f68-fcc2-454f-960d-49cc3d427b32","_postman_id":"09254f68-fcc2-454f-960d-49cc3d427b32","description":""}],"id":"000edf2e-a0c1-42a6-bdb6-bf6d9922d847","description":"<p>Authentication of Passwordless accounts</p>\n","_postman_id":"000edf2e-a0c1-42a6-bdb6-bf6d9922d847"},{"name":"Okta (Beta not yet available)","item":[{"name":"Authenticate with Okta user","event":[{"listen":"prerequest","script":{"id":"c30b2802-386b-4f6b-8331-659b0434b187","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"2d478643-e7fb-4ea0-a178-332cba5c05d1","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"22107e90-db24-480b-a404-6af70c025378","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","description":"<p>Username or login</p>\n"},{"key":"Password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved.</p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"OKTA","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Authenticates an OKTA user.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22107e90-db24-480b-a404-6af70c025378"}],"id":"e9e3eb4f-455e-4454-9467-fdffaf72f9ec","description":"<p>Not yet available (Beta purpose)</p>\n<p>Authentication of Okta user accounts</p>\n","_postman_id":"e9e3eb4f-455e-4454-9467-fdffaf72f9ec"}],"id":"8fd71676-0ba6-4275-8f16-a6b7581094b2","description":"<p>This folder contains all methods for authentication (VisualGuard, Windows, Database, Passwordless, etc.)</p>\n","_postman_id":"8fd71676-0ba6-4275-8f16-a6b7581094b2"},{"name":"User","item":[{"name":"GetAllUsers","event":[{"listen":"test","script":{"id":"4e0019e1-254a-4fb7-85f2-59655a1263f8","exec":[""],"type":"text/javascript"}}],"id":"a8242876-2a82-4410-ba90-ddac8bcaa060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{VGIdentityServerUrl}}/api/User/GetAllUsers?pageIndex=0&pageSize=10&isLoadProfileValues=true","description":"<p>Gets all users.</p>\n","urlObject":{"path":["api","User","GetAllUsers"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>PageIndex</p>\n","type":"text/plain"},"key":"pageIndex","value":"0"},{"description":{"content":"<p>PageSize</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"description":{"content":"<p>Set it to true, If also want to load profile values for user</p>\n","type":"text/plain"},"key":"isLoadProfileValues","value":"true"}],"variable":[]}},"response":[],"_postman_id":"a8242876-2a82-4410-ba90-ddac8bcaa060"},{"name":"GetProfileValues","id":"835a4b7b-e819-470f-9c8c-6635c6231cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/User/GetProfileValues?userId=test","description":"<p>Gets all profile values for user.</p>\n","urlObject":{"path":["api","User","GetProfileValues"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>UserId</p>\n","type":"text/plain"},"key":"userId","value":"test"}],"variable":[]}},"response":[],"_postman_id":"835a4b7b-e819-470f-9c8c-6635c6231cbc"},{"name":"ChangePassword","id":"526b9b3e-ce2e-4b88-82b4-26a8f12a8bcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Username\": \"test1\",\r\n  \"OldPassword\": \"test\",\r\n  \"NewPassword\": \"test1\",\r\n  \"PasswordConfirmation\": \"test1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/User/ChangePassword","description":"<p>Changes the password of the user by old password.</p>\n","urlObject":{"path":["api","User","ChangePassword"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"526b9b3e-ce2e-4b88-82b4-26a8f12a8bcf"},{"name":"GetQuestionForChangePassword","id":"91647675-909a-496f-adb9-db89784cde5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Username\": \"test\",\r\n  \"AuthenticationMode\": \"VisualGuard\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/User/GetQuestionForChangePassword","description":"<p>Gets the secret question for changing password by username.</p>\n","urlObject":{"path":["api","User","GetQuestionForChangePassword"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"91647675-909a-496f-adb9-db89784cde5d"},{"name":"ForcePassword","id":"a1566fa8-d972-4aa5-92b1-6759a9ac2c2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"UserId\": \"test\",\r\n  \"NewPassword\": \"pwd\",\r\n  \"PasswordConfirmation\" : \"pwd\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/User/ForcePassword","description":"<p>Sets the new password of the user.</p>\n<p>Requires permissions:</p>\n<ol>\n<li>Read User 2) CanForcePassword permission</li>\n</ol>\n","urlObject":{"path":["api","User","ForcePassword"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1566fa8-d972-4aa5-92b1-6759a9ac2c2e"},{"name":"WriteLog","id":"5afc5eee-02c1-40b6-890f-7c94e4747d45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Title\": \"Testing from Postman\",\r\n  \"Message\": \"Testing from Postman-Admin\",\r\n  \"EventId\": 108,\r\n  \"Severity\": \"1\",\r\n  \"ApplicationId\": \"7503e1ea-212a-4903-abb6-93702214fa87\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/User/WriteLog","description":"<p>Writes a log for the user.</p>\n","urlObject":{"path":["api","User","WriteLog"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5afc5eee-02c1-40b6-890f-7c94e4747d45"},{"name":"ChangePasswordByAnswer","id":"05778176-dcfd-4e3c-9613-d031ac14db27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Username\": \"test\",\r\n  \"Answer\": \"test1\",\r\n  \"NewPassword\": \"test\",\r\n  \"PasswordConfirmation\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/User/ChangePasswordByAnswer","description":"<p>Changes the password of the user by answer of the secret question.</p>\n","urlObject":{"path":["api","User","ChangePasswordByAnswer"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05778176-dcfd-4e3c-9613-d031ac14db27"}],"id":"dbb050f0-7c81-453f-ab47-e731d429e2a9","description":"<p>It contains methods for user operations.</p>\n","_postman_id":"dbb050f0-7c81-453f-ab47-e731d429e2a9"},{"name":"Role","item":[{"name":"GetAllRoles","id":"55c63148-9dd9-4edf-aaa0-e9fd5fa2f91c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Role/GetAllRoles?applicationId=a8f29316-c16e-4a21-8a21-c753dfedec66&onlyActiveRoleAndGrantedToUsers=true&isLoadMemberShipRoles=true&isLoadProfileValues=false","description":"<p>Gets all roles.</p>\n","urlObject":{"path":["api","Role","GetAllRoles"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Id of the application</p>\n","type":"text/plain"},"key":"applicationId","value":"a8f29316-c16e-4a21-8a21-c753dfedec66"},{"description":{"content":"<p>Set it to true, if only want to load roles which are active and granted to users</p>\n","type":"text/plain"},"key":"onlyActiveRoleAndGrantedToUsers","value":"true"},{"description":{"content":"<p>Set it to true, if want to include membership roles also</p>\n","type":"text/plain"},"key":"isLoadMemberShipRoles","value":"true"},{"description":{"content":"<p>Set it to true, if want to load role's profile values also</p>\n","type":"text/plain"},"key":"isLoadProfileValues","value":"false"}],"variable":[]}},"response":[],"_postman_id":"55c63148-9dd9-4edf-aaa0-e9fd5fa2f91c"},{"name":"ContainsPermission","id":"c790f834-4664-4e33-bee6-85a887ecf0af","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"RoleId\": \"72ee1b3d-2e9e-48d8-a7bf-0b8d4121d9f0\",\r\n  \"PermissionId\": \"f2a1d508-1920-41cb-9ef9-0b5a4e078ee4\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Role/ContainsPermission","description":"<p>Checks whether a role contains given permission or not.</p>\n","urlObject":{"path":["api","Role","ContainsPermission"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c790f834-4664-4e33-bee6-85a887ecf0af"},{"name":"GrantRolesToUsers","id":"c4c1c7ea-bf01-4e9e-8fa0-5ebb5fda0f83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Roles\": [\r\n    {\r\n      \"RoleId\": \"17395782-ca09-4602-b43b-4e774ab89b1e\",\r\n      \"AppId\": \"ac60cfa1-8416-4d56-a50b-71bebeeb3b45\"\r\n    }\r\n  ],\r\n  \"UserIds\": [\r\n    \"pbuser\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Role/GrantRolesToUsers","description":"<p>Grants role(s) to the user(s).</p>\n","urlObject":{"path":["api","Role","GrantRolesToUsers"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4c1c7ea-bf01-4e9e-8fa0-5ebb5fda0f83"},{"name":"RevokeRolesFromUsers","id":"edd624cb-5818-4db8-aab9-facf5f969ff2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Roles\": [\r\n    {\r\n      \"RoleId\": \"17395782-ca09-4602-b43b-4e774ab89b1e\",\r\n      \"AppId\": \"ac60cfa1-8416-4d56-a50b-71bebeeb3b45\"\r\n    }\r\n  ],\r\n  \"UserIds\": [\r\n    \"pbuser\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Role/RevokeRolesFromUsers","description":"<p>Revokes role(s) from the user(s).</p>\n","urlObject":{"path":["api","Role","RevokeRolesFromUsers"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"edd624cb-5818-4db8-aab9-facf5f969ff2"}],"id":"7a3d25dc-441e-42c3-8afe-e639bd746987","description":"<p>It contains methods for role operations.</p>\n","_postman_id":"7a3d25dc-441e-42c3-8afe-e639bd746987"},{"name":"Application","item":[{"name":"UpdateProfileValue","event":[{"listen":"prerequest","script":{"id":"b9fca3b2-383f-4a93-83f5-a674b1f14bd7","exec":[""],"type":"text/javascript"}}],"id":"ed246f0d-1456-4f57-9cc1-2a96d575a4ac","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"PropertyName\": \"CompanyName\",\r\n  \"PropertyValue\": \"ABC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Application/UpdateProfileValue","description":"<p>Updates profile value for given attribute for a given application. (If applicationId is not provided, it will process for current application by default)</p>\n","urlObject":{"path":["api","Application","UpdateProfileValue"],"host":["{{VGIdentityServerUrl}}"],"query":[{"disabled":true,"key":"PropertyName","value":"CompanyName"},{"disabled":true,"key":"PropertyValue","value":"AA"}],"variable":[]}},"response":[],"_postman_id":"ed246f0d-1456-4f57-9cc1-2a96d575a4ac"},{"name":"GetAllApplications","id":"60d28127-337e-491e-924f-a484c4208b7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Application/GetAllApplications?isLoadProfileValues=true","description":"<p>Gets all applications</p>\n","urlObject":{"path":["api","Application","GetAllApplications"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Set it to true, if want to load application's profile values also</p>\n","type":"text/plain"},"key":"isLoadProfileValues","value":"true"}],"variable":[]}},"response":[],"_postman_id":"60d28127-337e-491e-924f-a484c4208b7a"},{"name":"GetCurrentApplication","id":"0e64550f-911a-4db7-ba03-46bee83ae441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Application/GetCurrentApplication?isLoadProfileValues=true","description":"<p>Gets current application for which the user has been authenticated to.</p>\n","urlObject":{"path":["api","Application","GetCurrentApplication"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Set it to true, if want to load application's profile values also</p>\n","type":"text/plain"},"key":"isLoadProfileValues","value":"true"}],"variable":[]}},"response":[],"_postman_id":"0e64550f-911a-4db7-ba03-46bee83ae441"},{"name":"GetAllProfileAttributes","id":"351d5706-2356-4d20-b279-725276af6241","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Application/GetAllProfileAttributes","description":"<p>Gets all profile attributes and values for given application if specified, if not specified, it will take current application.</p>\n","urlObject":{"path":["api","Application","GetAllProfileAttributes"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"351d5706-2356-4d20-b279-725276af6241"}],"id":"b26cbcb8-a08d-4b06-a4fc-18f0d24dc1be","description":"<p>It contains methods for application operations.</p>\n","_postman_id":"b26cbcb8-a08d-4b06-a4fc-18f0d24dc1be"},{"name":"Principal","item":[{"name":"GetPrincipal","id":"03f25c3f-7978-4219-9dea-77d4291c5f2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{VGIdentityServerUrl}}/api/Principal/GetPrincipal","description":"<p>Gets current principal.</p>\n","urlObject":{"path":["api","Principal","GetPrincipal"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"03f25c3f-7978-4219-9dea-77d4291c5f2d"},{"name":"SetProfileValue","id":"3666d5ed-f2a8-4b6a-a183-c52997f654c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"PropertyName\": \"int\",\r\n  \"PropertyValue\": \"45\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/SetProfileValue","description":"<p>Sets profile values for current principal.</p>\n","urlObject":{"path":["api","Principal","SetProfileValue"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3666d5ed-f2a8-4b6a-a183-c52997f654c4"},{"name":"GetProfileValues","id":"d78bdf6f-5c26-4d14-8b9d-f7fc399552c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetProfileValues","description":"<p>Gets all profile values of the current principal.</p>\n","urlObject":{"path":["api","Principal","GetProfileValues"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d78bdf6f-5c26-4d14-8b9d-f7fc399552c9"},{"name":"ChangePassword","id":"804108bb-5ed8-4d21-87ef-879544aa4190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"NewPassword\": \"Admin@123\",\r\n  \"PasswordConfirmation\": \"Admin@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/ChangePassword","description":"<p>Changes the password of the current principal.</p>\n","urlObject":{"path":["api","Principal","ChangePassword"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"804108bb-5ed8-4d21-87ef-879544aa4190"},{"name":"SelectContextualRoles","id":"c9acd724-402f-4202-b144-1700d84096d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Ids\": [\r\n    \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/SelectContextualRoles","description":"<p>Selects contextual roles for current principal and returns updated principal (To get the selectable contextual roles, call method - GetAllSelectableContextualRoles().</p>\n","urlObject":{"path":["api","Principal","SelectContextualRoles"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9acd724-402f-4202-b144-1700d84096d0"},{"name":"SelectContextualGroups","id":"7263cf50-40e4-40ff-aad5-970ffac83b79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Ids\": [\r\n    \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/SelectContextualGroups","description":"<p>Selects contextual groups for current principal and returns updated principal. (To get the selectable contextual groups, call method - GetAllSelectableContextualGroups() ).</p>\n","urlObject":{"path":["api","Principal","SelectContextualGroups"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7263cf50-40e4-40ff-aad5-970ffac83b79"},{"name":"SignOut","id":"f5aaec05-4dd9-41da-8c6e-7bf5c14c0665","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/SignOut","description":"<p>SignOuts the current user.</p>\n","urlObject":{"path":["api","Principal","SignOut"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5aaec05-4dd9-41da-8c6e-7bf5c14c0665"},{"name":"WriteLog","id":"9f9f2e70-453a-43ca-bf83-b1ea0a9c9db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"Title\": \"Testing from Postman\",\r\n  \"Message\": \"Testing from Postman-Admin\",\r\n  \"EventId\": 108,\r\n  \"Severity\": \"1\",\r\n  \"ApplicationId\": \"7503e1ea-212a-4903-abb6-93702214fa87\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{VGIdentityServerUrl}}/api/Principal/WriteLog","description":"<p>Writes a log for current principal.</p>\n","urlObject":{"path":["api","Principal","WriteLog"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f9f2e70-453a-43ca-bf83-b1ea0a9c9db8"},{"name":"GetIdentity","id":"947fcdc7-9d91-4e04-a92b-412a0f6deb30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetIdentity","description":"<p>Gets the identity of your current user.</p>\n","urlObject":{"path":["api","Principal","GetIdentity"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"947fcdc7-9d91-4e04-a92b-412a0f6deb30"},{"name":"GetCurrentPermissions","id":"789ad2ec-fc2a-48af-85fd-d0ad514d8c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetCurrentPermissions","description":"<p>Gets all permissions for current principal.</p>\n","urlObject":{"path":["api","Principal","GetCurrentPermissions"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"789ad2ec-fc2a-48af-85fd-d0ad514d8c0e"},{"name":"GetCurrentRoles","id":"3fdeac18-2d64-4c4b-999e-5cad7aa2ed99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetCurrentRoles","description":"<p>Gets all roles for current principal.</p>\n","urlObject":{"path":["api","Principal","GetCurrentRoles"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fdeac18-2d64-4c4b-999e-5cad7aa2ed99"},{"name":"IsInRoleById","id":"1c22669b-283c-4856-a2e1-646185a6346f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/IsInRoleById?roleId=72ee1b3d-2e9e-48d8-a7bf-0b8d4121d9f0","description":"<p>Does the user have a role (role ID), Returns true, else false.</p>\n","urlObject":{"path":["api","Principal","IsInRoleById"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Id of the role to check</p>\n","type":"text/plain"},"key":"roleId","value":"72ee1b3d-2e9e-48d8-a7bf-0b8d4121d9f0"}],"variable":[]}},"response":[],"_postman_id":"1c22669b-283c-4856-a2e1-646185a6346f"},{"name":"IsInRoleByName","id":"52f29be8-4639-4404-813e-45030e860e07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/IsInRoleByName?roleName=Admin","description":"<p>Does the user have a role (role name), Returns true, else false.</p>\n","urlObject":{"path":["api","Principal","IsInRoleByName"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Name of the role to check</p>\n","type":"text/plain"},"key":"roleName","value":"Admin"}],"variable":[]}},"response":[],"_postman_id":"52f29be8-4639-4404-813e-45030e860e07"},{"name":"HasPermissionById","id":"01c799ca-2271-43cb-a735-06111445d430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/HasPermissionById?permissionId=8bdf5823-7852-4665-8829-2d2c71d0865f","description":"<p>Does the user have a permission (permissionId), Returns true, else false</p>\n","urlObject":{"path":["api","Principal","HasPermissionById"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Id of the Permission to check</p>\n","type":"text/plain"},"key":"permissionId","value":"8bdf5823-7852-4665-8829-2d2c71d0865f"}],"variable":[]}},"response":[],"_postman_id":"01c799ca-2271-43cb-a735-06111445d430"},{"name":"HasPermissionByName","id":"53ce9701-97d6-4d5f-8190-f2a370d740b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/HasPermissionByName?permissionName=/PowerServer/Address/CanCreateAddress","description":"<p>Does the user have a permission (permissionName), Returns true else false.</p>\n","urlObject":{"path":["api","Principal","HasPermissionByName"],"host":["{{VGIdentityServerUrl}}"],"query":[{"description":{"content":"<p>Name of the Permission to check</p>\n","type":"text/plain"},"key":"permissionName","value":"/PowerServer/Address/CanCreateAddress"}],"variable":[]}},"response":[],"_postman_id":"53ce9701-97d6-4d5f-8190-f2a370d740b0"},{"name":"GetAllSelectableContextualGroups","id":"4f8f00a2-84cd-4b10-b893-68f2faa6c4f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetAllSelectableContextualGroups","description":"<p>Gets all selectable contextual groups for current principal.</p>\n","urlObject":{"path":["api","Principal","GetAllSelectableContextualGroups"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f8f00a2-84cd-4b10-b893-68f2faa6c4f9"},{"name":"GetSelectedContextualGroups","id":"a52ee793-ffaf-4392-b7f4-db28e00e7855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetSelectedContextualGroups","description":"<p>Gets selected contextual groups for current principal.</p>\n","urlObject":{"path":["api","Principal","GetSelectedContextualGroups"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a52ee793-ffaf-4392-b7f4-db28e00e7855"},{"name":"GetAllSelectableContextualRoles","id":"27e9ff5d-f818-4f45-a59e-9ff262fa6a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetAllSelectableContextualRoles","description":"<p>Gets all selectable contextual roles for current principal.</p>\n","urlObject":{"path":["api","Principal","GetAllSelectableContextualRoles"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27e9ff5d-f818-4f45-a59e-9ff262fa6a51"},{"name":"GetSelectedContextualRoles","id":"314113b3-ca5d-4053-aa06-4baa5e6d10c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/api/Principal/GetSelectedContextualRoles","description":"<p>Gets selected contextual roles for current principal.</p>\n","urlObject":{"path":["api","Principal","GetSelectedContextualRoles"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"314113b3-ca5d-4053-aa06-4baa5e6d10c6"}],"id":"5dc5914c-f6e3-40a7-ac7c-de16b6ad6f62","description":"<p>It contains methods for principal operations.</p>\n","_postman_id":"5dc5914c-f6e3-40a7-ac7c-de16b6ad6f62"},{"name":"ConnectToken","event":[{"listen":"prerequest","script":{"id":"6eec2687-1f5e-4bd9-9331-481e5c86bd23","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"aefdd11e-3cb1-420e-81e5-d21263b9bb78","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"26480d0c-ac4e-41dc-a29c-e6e83a485e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"Username","value":"{{username}}","description":"<p>Username or login</p>\n"},{"key":"password","value":"{{password}}","description":"<p>The user's password.  Delete this as soon as the response is recieved. </p>\n"},{"key":"grant_type","value":"VGAuthenticator","description":"<p>Grant type for Visual-Guard User</p>\n"},{"key":"AuthenticationMethod","value":"VisualGuard","type":"text","description":"<p>Authentication mode (ex. VisualGuard, Windows, WindowsByCredential, Passwordless, OKTA, Database etc)</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Connects to the token endpoint for authentication and generates the VGAccessToken.</p>\n<p>This VGAccessToken can be used to access the visual-guard api.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"26480d0c-ac4e-41dc-a29c-e6e83a485e9e"},{"name":"RefreshToken","id":"01f49f14-b1d2-4b87-adde-f71b7432464f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","description":"<p>Client_id of the application. (ex. 6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native) (Guid_Type of application)</p>\n"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Client_secret of the application</p>\n"},{"key":"scope","value":"{{scope}}","description":"<p>Scopes or identity resources of the application</p>\n"},{"key":"grant_type","value":"refresh_token","description":"<p>refresh_token</p>\n"},{"key":"refresh_token","value":"c030a5e369b9e4a533714c8084c902a6cd3e69fb8978a747c783bd0fe7f6a274","type":"text","description":"<p>Provide Refresh token</p>\n"}]},"url":"{{VGIdentityServerUrl}}/connect/token","description":"<p>Connects to the refreh token endpoint for renewing the VGAccessToken based on last refreshtoken.</p>\n","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01f49f14-b1d2-4b87-adde-f71b7432464f"},{"name":"GetUserInfo (UserInfo endpoint)","id":"1945f33e-a0dc-4e63-a24f-475ab570ab3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{VGIdentityServerUrl}}/connect/userinfo","description":"<p>Connects to the user-info endpoint to have the identity information of the user. This can be accessed by providing the VGAccessToken.</p>\n","urlObject":{"path":["connect","userinfo"],"host":["{{VGIdentityServerUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1945f33e-a0dc-4e63-a24f-475ab570ab3f"},{"name":"EndSession","id":"7543be2a-2076-4f70-a751-1d7791097e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{VGIdentityServerUrl}}/connect/endsession?post_logout_redirect_uri=https://www.microsoft1.com&id_token_hint=eyJhbGciOiJSUzI1NiIsImtpZCI6IjdBQTA1QTY4MjM4NzFDMjU3QzQ2RTFCNEEwMTIyQjFEQzQ4QTIyQjIiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJlcUJhYUNPSEhDVjhSdUcwb0JJckhjU0tJckkifQ.eyJuYmYiOjE2ODc3Nzk1NDUsImV4cCI6MTY4Nzc4MTM0NSwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo1MDAwIiwiYXVkIjoiMTcyYjU0NTAtNjk1NC00YmY1LTk4MmYtOWFmNjg4ZjFhYTU4X1dlYkFwcCIsImlhdCI6MTY4Nzc3OTU0NSwiYXRfaGFzaCI6InlPQ05ZRnBrYVVmZnJiR2N5TjF2QlEiLCJzdWIiOiJ0ZXN0IiwiYXV0aF90aW1lIjoxNjg3Nzc5NTI5LCJpZHAiOiJWaXN1YWxHdWFyZCIsInZnSWRlbnRpdHlQcm92aWRlck5hbWUiOiJWaXN1YWxHdWFyZCIsInZnVG9rZW4iOiJGQkRBOUNCREJFNzgzQjExNDlFODhDMUNDQTRBQ0IxNzhFMEY3MjFBQjkxMDZBNUYxMjBGNDgwRjY0RDExMTk1QkIwQTRFRDc0OEVEMzhEN0Q0QUQxM0VFRDhFMjJFRkQwOEQ5NjcyOTIyRTYwQ0MxOUYyRDVFQkEzNzdBMTI2NyIsInZnVXNlcklkIjoidGVzdCIsInZnQXBwbGljYXRpb25zIjoiVmlzdWFsIEd1YXJkIENvbnNvbGUsV2luZG93c0Zvcm1zQXBwMSgxKSxUZXN0QXBwTUZBLFdpbmRvd3NGb3Jtc0FwcF80OCxBcHAxLFRlc3RXaW5Gb3JtLE1WQ0NsaWVudFdpdGhvdXRSdW50aW1lLFZHQ2xpZW50IiwidmdSb2xlcyI6IlJvbGVfQSxSb2xlX0IsUm9sZV9DLFJvbGVfRCIsInZnUGVybWlzc2lvbnMiOiJDYW5BZGQsQ2FuRGl2aWRlLENhbk11bHRpcGx5IiwidmdJc0FwcHJvdmVkIjoiVHJ1ZSIsInZnSXNMb2NrZWQiOiJGYWxzZSIsInZnU3RhcnREYXRlIjoiMS8yNi8yMDIyIDQ6MDg6MjMgUE0iLCJ2Z0VuZERhdGUiOiIxMi8zMS85OTk5IDExOjU5OjU5IFBNIiwidmdGaXJzdG5hbWUiOiIiLCJ2Z0xhc3RuYW1lIjoiIiwidmdFbWFpbCI6Im1hcmsucmlzaGlAbm92YWx5cy5uZXQiLCJ2Z1VBX2NvbXBhbnlOYW1lIjoiY2NjY2NjIiwidmdVQV9jb21wYW55Q29kZSI6IiIsInZnVUFfaW50IjoiMCIsInZnVUFfZG91YmxlIjoiMCIsInZnVUFfZGF0ZXRpbWUiOiIwMS8wMS8wMDAxIDAwOjAwOjAwIiwidmdVQV9ib29sIjoiRmFsc2UiLCJ2Z1VBX2NuYW1lIjoiYWJjZCIsInZnVUFfYm5hbWUiOiJiYmJiIiwidmdVQV96YSI6IiIsImFtciI6WyJWaXN1YWxHdWFyZCJdfQ.DfT6TIq5-OFfhiIpaeJihY9Oh4ctI7DljnAtwmBdgzRQGS2syKfr2RYFG9lzNjR9tWz8jyfuphMzJOt2CtiWcQyN1Id5YYAXkn4rrNRMX-THaaT7QKkN56XnrpzNQF30SNsxEqGM7fMeCpCrNiJ6vWVcgngYk9-C0UrXzK2lp2i_Ua22RKJPS035V8VWf2MX5nBJpYKYJEUcdZGQQ4vxzkudNhhHUlIKsppgR2AYpxY-4AuqOMy3gL6oFjLZEzHvgh3EzdDQDmxGyo7IllQEevbiBEI8lByfMbzwGGMggdm2lS-GF8y4VxDwIS1GQHfrfS5PAvbpKaf3A_YWlSxQjA","urlObject":{"path":["connect","endsession"],"host":["{{VGIdentityServerUrl}}"],"query":[{"key":"post_logout_redirect_uri","value":"https://www.microsoft1.com"},{"key":"id_token_hint","value":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjdBQTA1QTY4MjM4NzFDMjU3QzQ2RTFCNEEwMTIyQjFEQzQ4QTIyQjIiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJlcUJhYUNPSEhDVjhSdUcwb0JJckhjU0tJckkifQ.eyJuYmYiOjE2ODc3Nzk1NDUsImV4cCI6MTY4Nzc4MTM0NSwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo1MDAwIiwiYXVkIjoiMTcyYjU0NTAtNjk1NC00YmY1LTk4MmYtOWFmNjg4ZjFhYTU4X1dlYkFwcCIsImlhdCI6MTY4Nzc3OTU0NSwiYXRfaGFzaCI6InlPQ05ZRnBrYVVmZnJiR2N5TjF2QlEiLCJzdWIiOiJ0ZXN0IiwiYXV0aF90aW1lIjoxNjg3Nzc5NTI5LCJpZHAiOiJWaXN1YWxHdWFyZCIsInZnSWRlbnRpdHlQcm92aWRlck5hbWUiOiJWaXN1YWxHdWFyZCIsInZnVG9rZW4iOiJGQkRBOUNCREJFNzgzQjExNDlFODhDMUNDQTRBQ0IxNzhFMEY3MjFBQjkxMDZBNUYxMjBGNDgwRjY0RDExMTk1QkIwQTRFRDc0OEVEMzhEN0Q0QUQxM0VFRDhFMjJFRkQwOEQ5NjcyOTIyRTYwQ0MxOUYyRDVFQkEzNzdBMTI2NyIsInZnVXNlcklkIjoidGVzdCIsInZnQXBwbGljYXRpb25zIjoiVmlzdWFsIEd1YXJkIENvbnNvbGUsV2luZG93c0Zvcm1zQXBwMSgxKSxUZXN0QXBwTUZBLFdpbmRvd3NGb3Jtc0FwcF80OCxBcHAxLFRlc3RXaW5Gb3JtLE1WQ0NsaWVudFdpdGhvdXRSdW50aW1lLFZHQ2xpZW50IiwidmdSb2xlcyI6IlJvbGVfQSxSb2xlX0IsUm9sZV9DLFJvbGVfRCIsInZnUGVybWlzc2lvbnMiOiJDYW5BZGQsQ2FuRGl2aWRlLENhbk11bHRpcGx5IiwidmdJc0FwcHJvdmVkIjoiVHJ1ZSIsInZnSXNMb2NrZWQiOiJGYWxzZSIsInZnU3RhcnREYXRlIjoiMS8yNi8yMDIyIDQ6MDg6MjMgUE0iLCJ2Z0VuZERhdGUiOiIxMi8zMS85OTk5IDExOjU5OjU5IFBNIiwidmdGaXJzdG5hbWUiOiIiLCJ2Z0xhc3RuYW1lIjoiIiwidmdFbWFpbCI6Im1hcmsucmlzaGlAbm92YWx5cy5uZXQiLCJ2Z1VBX2NvbXBhbnlOYW1lIjoiY2NjY2NjIiwidmdVQV9jb21wYW55Q29kZSI6IiIsInZnVUFfaW50IjoiMCIsInZnVUFfZG91YmxlIjoiMCIsInZnVUFfZGF0ZXRpbWUiOiIwMS8wMS8wMDAxIDAwOjAwOjAwIiwidmdVQV9ib29sIjoiRmFsc2UiLCJ2Z1VBX2NuYW1lIjoiYWJjZCIsInZnVUFfYm5hbWUiOiJiYmJiIiwidmdVQV96YSI6IiIsImFtciI6WyJWaXN1YWxHdWFyZCJdfQ.DfT6TIq5-OFfhiIpaeJihY9Oh4ctI7DljnAtwmBdgzRQGS2syKfr2RYFG9lzNjR9tWz8jyfuphMzJOt2CtiWcQyN1Id5YYAXkn4rrNRMX-THaaT7QKkN56XnrpzNQF30SNsxEqGM7fMeCpCrNiJ6vWVcgngYk9-C0UrXzK2lp2i_Ua22RKJPS035V8VWf2MX5nBJpYKYJEUcdZGQQ4vxzkudNhhHUlIKsppgR2AYpxY-4AuqOMy3gL6oFjLZEzHvgh3EzdDQDmxGyo7IllQEevbiBEI8lByfMbzwGGMggdm2lS-GF8y4VxDwIS1GQHfrfS5PAvbpKaf3A_YWlSxQjA"}],"variable":[]}},"response":[],"_postman_id":"7543be2a-2076-4f70-a751-1d7791097e8e"},{"name":"ConnectAuthorize_template","event":[{"listen":"prerequest","script":{"id":"6eec2687-1f5e-4bd9-9331-481e5c86bd23","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"aefdd11e-3cb1-420e-81e5-d21263b9bb78","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"ed393c42-660a-4b0c-a2a0-b0fde2709aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{VGIdentityServerUrl}}/connect/authorize?client_id={{client_id}}&scope={{scope}}&redirect_uri=http://localhost:5002/signin-oidc&response_type=code","description":"<p>Connects to the token endpoint for authentication and generates the VGAccessToken.</p>\n<p>This VGAccessToken can be used to access the visual-guard api.</p>\n","urlObject":{"path":["connect","authorize"],"host":["{{VGIdentityServerUrl}}"],"query":[{"key":"client_id","value":"{{client_id}}"},{"key":"scope","value":"{{scope}}"},{"key":"redirect_uri","value":"http://localhost:5002/signin-oidc"},{"disabled":true,"key":"client_secret","value":"secret"},{"key":"response_type","value":"code"}],"variable":[]}},"response":[],"_postman_id":"ed393c42-660a-4b0c-a2a0-b0fde2709aed"},{"name":"ConnectAuthorize_AutowindowsssoFalse_template","event":[{"listen":"prerequest","script":{"id":"6eec2687-1f5e-4bd9-9331-481e5c86bd23","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"aefdd11e-3cb1-420e-81e5-d21263b9bb78","exec":["\r","\r"," var vgToken = pm.response.json().access_token;\r"," console.log(vgToken);\r","\r","pm.environment.set(\"BearerToken\", vgToken);\r","pm.collectionVariables.set(\"BearerToken\", vgToken);"],"type":"text/javascript"}}],"id":"d3906f36-e942-4422-bdb9-fc168298e27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{VGIdentityServerUrl}}/connect/authorize?autowindowssso=false&response_type=code&redirect_uri=http://localhost:5002/signin-oidc&client_id={{client_id}}&scope={{scope}}","description":"<p>Connects to the token endpoint for authentication and generates the VGAccessToken.</p>\n<p>This VGAccessToken can be used to access the visual-guard api.</p>\n","urlObject":{"path":["connect","authorize"],"host":["{{VGIdentityServerUrl}}"],"query":[{"key":"autowindowssso","value":"false"},{"key":"response_type","value":"code"},{"key":"redirect_uri","value":"http://localhost:5002/signin-oidc"},{"disabled":true,"key":"client_secret","value":"secret"},{"key":"client_id","value":"{{client_id}}"},{"key":"scope","value":"{{scope}}"}],"variable":[]}},"response":[],"_postman_id":"d3906f36-e942-4422-bdb9-fc168298e27e"},{"name":"ConnectToken_AuthorizationCode","id":"d6842b8d-afd0-4bb8-b6a8-584f210966df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"code","value":"506891a575beb93aa2c76742be0cd80a5c3b193cdd7f9d14c4337592a730e682","type":"text"},{"key":"client_id","value":"172b5450-6954-4bf5-982f-9af688f1aa58_WebApp","type":"text"},{"key":"redirect_uri","value":"http://localhost:5002/signin-oidc","type":"text"},{"key":"client_secret","value":"secret","type":"text"}]},"url":"{{VGIdentityServerUrl}}/connect/token","urlObject":{"path":["connect","token"],"host":["{{VGIdentityServerUrl}}"],"query":[{"disabled":true,"key":"grant_type","value":"authorization_code"},{"disabled":true,"key":"code","value":"a764d91ee106937af6082405f1f43e13bb19ab232612921c50609364993bb7e3"},{"disabled":true,"key":"client_id","value":"172b5450-6954-4bf5-982f-9af688f1aa58_WebApp"},{"disabled":true,"key":"redirect_uri","value":"http://localhost:5002/signin-oidc"}],"variable":[]}},"response":[],"_postman_id":"d6842b8d-afd0-4bb8-b6a8-584f210966df"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"fdd8b5bb-2017-43c1-8221-d5054728035c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7a4723e9-8fa6-401f-8357-3053824b01e4"}}],"variable":[{"key":"","value":""},{"key":"BearerToken","value":""},{"key":"{{SERVER_URL}}","value":""}]}