Files
api-specs/idn/beta/schemas/PasswordInfo.yaml
2022-09-02 10:59:29 -04:00

34 lines
1.2 KiB
YAML

type: object
properties:
identityId:
type: string
example: "2c918085744fec4301746f9a5bce4605"
sourceId:
type: string
example: "2c918083746f642c01746f990884012a"
publicKeyId:
type: string
example: "N2M1OTJiMGEtMDJlZS00ZWU3LTkyYTEtNjA5YmI5NWE3ZWVh"
publicKey:
type: string
description: User's public key with Base64 encoding
example: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuGFkWi2J75TztpbaPKd36bJnIB3J8gZ6UcoS9oSDYsqBzPpTsfZXYaEf4Y4BKGgJIXmE/lwhwuj7mU1itdZ2qTSNFtnXA8Fn75c3UUkk+h+wdZbkuSmqlsJo3R1OnJkwkJggcAy9Jvk9jlcrNLWorpQ1w9raUvxtvfgkSdq153KxotenQ1HciSyZ0nA/Kw0UaucLnho8xdRowZs11afXGXA9IT9H6D8T6zUdtSxm0nAyH+mluma5LdTfaM50W3l/L8q56Vrqmx2pZIiwdx/0+g3Y++jV70zom0ZBkC1MmSoLMrQYG5OICNjr72f78B2PaGXfarQHqARLjKpMVt9YIQIDAQAB"
accounts:
type: array
description: Account info related to queried identity and source
items:
$ref: './PasswordInfoAccount.yaml'
policies:
type: array
description: Password constraints
items:
type: string
example:
[
"passwordRepeatedChar is 3",
"passwordMinAlpha is 1",
"passwordMinLength is 5",
"passwordMinNumeric is 1"
]