File tree Expand file tree Collapse file tree
skyflow/generated/rest/authentication Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ from skyflow.vault.data import DetokenizeRequest, TokenGroupRedactions
493493vault = skyflow_client.vault(' <VAULT_ID>' ) # skyflow_client from Quickstart
494494
495495request = DetokenizeRequest(
496- tokens = [' 5479-4229-4622-1393' , ' a1b2c3d4-e5f6-7890-abcd-ef1234567890 ' ],
496+ tokens = [' 5479-4229-4622-1393' , ' <TOKEN_1> ' ],
497497 token_group_redactions = [TokenGroupRedactions(token_group_name = ' card_number_cg' , redaction = ' MASKED' )],
498498)
499499response = vault.detokenize(request)
@@ -516,7 +516,7 @@ Sample response:
516516 "request_id" : null
517517 },
518518 {
519- "token" : " a1b2c3d4-e5f6-7890-abcd-ef1234567890 " ,
519+ "token" : " <TOKEN_1> " ,
520520 "value" : null ,
521521 "token_group_name" : null ,
522522 "metadata" : null ,
@@ -650,7 +650,7 @@ Sample response:
650650 "table_name" : " table1" ,
651651 "skyflow_id" : " 9fac9201-7b8a-4446-93f8-5244e1213bd1" ,
652652 "tokens" : {
653- "cardholder_name" : [ { "token" : " f1a2b3c4-d5e6-7890-abcd-ef1234567890 " , "token_group_name" : " deterministic_string" , "path" : null } ]
653+ "cardholder_name" : [ { "token" : " <TOKEN_2> " , "token_group_name" : " deterministic_string" , "path" : null } ]
654654 },
655655 "data" : { "cardholder_name" : " Jane Doe" },
656656 "hashed_data" : null ,
Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ def authentication_service_get_auth_token(
7373 from skyflow import Skyflow
7474
7575 client = Skyflow(
76- token="YOUR_TOKEN ",
76+ token="<TOKEN_1> ",
7777 )
7878 client.authentication.authentication_service_get_auth_token(
7979 grant_type="urn:ietf:params:oauth:grant-type:jwt-bearer",
80- assertion="YOUR_SIGNED_JWT_ASSERTION ",
80+ assertion="<JWT_TOKEN> ",
8181 )
8282 """
8383 _response = self ._raw_client .authentication_service_get_auth_token (
@@ -156,14 +156,14 @@ async def authentication_service_get_auth_token(
156156 from skyflow import AsyncSkyflow
157157
158158 client = AsyncSkyflow(
159- token="YOUR_TOKEN ",
159+ token="<TOKEN> ",
160160 )
161161
162162
163163 async def main() -> None:
164164 await client.authentication.authentication_service_get_auth_token(
165165 grant_type="urn:ietf:params:oauth:grant-type:jwt-bearer",
166- assertion="YOUR_SIGNED_JWT_ASSERTION ",
166+ assertion="<JWT_TOKEN> ",
167167 )
168168
169169
Original file line number Diff line number Diff line change 11{
22 "validations_valid_api_key" : " sky-test-000000000000000000000000000000000" ,
33 "validations_invalid_prefix_api_key" : " invalid-test-000000000000000000000000000000000" ,
4- "validations_invalid_length_api_key" : " sky-test-123456 " ,
4+ "validations_invalid_length_api_key" : " sky-test-000000 " ,
55 "utils_valid_api_key" : " sky-00000-00000000000000000000000000000000" ,
66 "utils_invalid_length_api_key" : " sky-00000-000" ,
77 "utils_invalid_pattern_api_key" : " sky-00000-0000000000GHIJKL0000000000000000"
You can’t perform that action at this time.
0 commit comments