diff --git a/example/GetLoginProofResult/1.0/policy.rego b/example/GetLoginProofResult/1.0/policy.rego new file mode 100644 index 0000000000000000000000000000000000000000..5ebacb08b8cd5c845f99cd77605166bc9b6be2ae --- /dev/null +++ b/example/GetLoginProofResult/1.0/policy.rego @@ -0,0 +1,26 @@ +package example.GetLoginProofResult + +# commented until OCM ready with their enpoints + +# ocm.loginProofResult should be a custom function written in Go +# _ := ocm.loginProofResult() + + +# for now returning mock +_ = { + "status": "ACCEPTED", + "name": "John", + "given_name": "John I", + "family_name": "Doe", + "middle_name": "", + "preferred_name": "John Doe", + "gender": "M", + "birthdate": "01.01.1970", + "upated_at": 1656497093, + "email": "john.doe@sample.com", + "email_verified": true, + "sub": "John Doe", + "iss": "https://gaiax.vereign.com/tsa", + "auth_time": 1656583493 +} +