Lemonldap-NG-Manager
view release on metacpan or search on metacpan
lib/Lemonldap/NG/Manager/Build/OpenApi.pm view on Meta::CPAN
}
},
'HistoryItem' => {
'type' => 'object',
'required' => [ 'date', 'result' ],
'properties' => {
'date' => {
'type' => 'string',
'description' => 'Unix timestamp of the event'
},
'ipAddr' => {
'type' => 'string',
'description' =>
'String representation of the IP address'
},
'result' => {
'type' => 'string',
'description' => 'Result of authentication attempt',
'enum' => [ 'success', 'failed' ]
},
'error' => {
'type' => 'integer',
'description' => 'LemonLDAP::NG error code'
}
}
},
'confKey' => {
'type' => 'string',
'pattern' => '^\\w[\\w\\.\\-]*$'
},
'Error' => {
'type' => 'object',
'properties' => {
'error' => {
'type' => 'string'
}
},
'required' => ['error']
},
'SamlSp' => {
'required' => [ 'confKey', 'metadata' ],
'type' => 'object',
'properties' => {
'confKey' => {
'$ref' => '#/components/schemas/confKey'
},
'metadata' => {
'type' => 'string',
'example' =>
'<?xml version="1.0"?><EntityDescriptor...'
},
'exportedAttributes' => {
'type' => 'object',
'items' => {
'$ref' => '#/components/schemas/samlAttribute'
}
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'options' => {
'$ref' => '#/components/schemas/samlOptions'
}
}
},
'SamlSpUpdate' => {
'type' => 'object',
'properties' => {
'metadata' => {
'type' => 'string',
'example' =>
'<?xml version="1.0"?><EntityDescriptor...'
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'exportedAttributes' => {
'type' => 'object',
'items' => {
'$ref' => '#/components/schemas/samlAttribute'
}
},
'options' => {
'$ref' => '#/components/schemas/samlOptions'
}
}
},
'SamlSpReplace' => {
'type' => 'object',
'required' => ['metadata'],
'properties' => {
'metadata' => {
'type' => 'string',
'example' =>
'<?xml version="1.0"?><EntityDescriptor...'
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'exportedAttributes' => {
'type' => 'object',
'items' => {
'$ref' => '#/components/schemas/samlAttribute'
}
},
'options' => {
'$ref' => '#/components/schemas/samlOptions'
}
}
},
'samlOptions' => {
'type' => 'object',
'properties' =>
getOptions( $attributes, 'samlSPMetaDataOptions' ),
},
'samlAttribute' => {
'type' => 'object',
'properties' => {
'name' => {
'type' => 'string'
},
'mandatory' => {
'type' => 'boolean'
},
'friendlyName' => {
'type' => 'string'
},
'format' => {
'type' => 'string',
'example' =>
'urn:oasis:names:tc:SAML:2.0:attrname-format:basic'
}
}
},
'OidcRp' => {
'required' => [ 'confKey', 'clientId', 'redirectUris' ],
'type' => 'object',
'properties' => {
'confKey' => {
'$ref' => '#/components/schemas/confKey'
},
'clientId' => {
'type' => 'string'
},
'redirectUris' => {
'type' => 'array',
'items' => {
'type' => 'string',
'minItems' => '1',
'format' => 'uri'
}
},
'exportedVars' => {
'type' => 'object',
'example' => {
'email' => 'mail',
'family_name' => 'sn',
'name' => 'cn'
}
},
'extraClaims' => {
'type' => 'object',
'example' => {
'myscope' => 'myattr1 myattr2 myattr3'
}
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'options' => {
'$ref' => '#/components/schemas/OidcOptions'
},
'scopeRules' => {
'type' => 'object',
'example' => {
'write' => 'requested and inGroup(\'writers\')'
}
}
}
},
'OidcOptions' => {
'type' => 'object',
'properties' =>
getOptions( $attributes, 'oidcRPMetaDataOptions' ),
},
'OidcRpUpdate' => {
'type' => 'object',
'properties' => {
'clientId' => {
'type' => 'string'
},
'exportedVars' => {
'type' => 'object',
'example' => {
'email' => 'mail',
'family_name' => 'sn',
'name' => 'cn'
}
},
'extraClaims' => {
'type' => 'object',
'example' => {
'myscope' => 'myattr1 myattr2 myattr3'
}
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'options' => {
'$ref' => '#/components/schemas/OidcOptions'
},
'scopeRules' => {
'type' => 'object',
'example' => {
'write' => 'requested and inGroup(\'writers\')'
}
}
}
},
'OidcRpReplace' => {
'type' => 'object',
'required' => [ 'clientId', 'redirectUris' ],
'properties' => {
'clientId' => {
'type' => 'string'
},
'exportedVars' => {
'type' => 'object',
'example' => {
'email' => 'mail',
'family_name' => 'sn',
'name' => 'cn'
}
},
'extraClaims' => {
'type' => 'object',
'example' => {
'myscope' => 'myattr1 myattr2 myattr3'
}
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'options' => {
'$ref' => '#/components/schemas/OidcOptions'
},
'scopeRules' => {
'type' => 'object',
'example' => {
'write' => 'requested and inGroup(\'writers\')'
}
}
}
},
'CasApp' => {
'required' => ['confKey'],
'type' => 'object',
'properties' => {
'confKey' => {
'$ref' => '#/components/schemas/confKey'
},
'exportedVars' => {
'type' => 'object',
'default' => {
'cn' => 'cn',
'mail' => 'mail',
'uid' => 'uid'
}
},
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'options' => {
'$ref' => '#/components/schemas/casOptions'
}
}
},
'CasAppUpdate' => {
'type' => 'object',
'properties' => {
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'exportedVars' => {
'type' => 'object',
'default' => {
'cn' => 'cn',
'mail' => 'mail',
'uid' => 'uid'
}
},
'options' => {
'$ref' => '#/components/schemas/casOptions'
}
}
},
'CasAppReplace' => {
'type' => 'object',
'properties' => {
'macros' => {
'type' => 'object',
'example' => {
'myMacroName' => '$macro(rule)'
}
},
'exportedVars' => {
'type' => 'object',
'default' => {
'cn' => 'cn',
'mail' => 'mail',
'uid' => 'uid'
}
},
'options' => {
'$ref' => '#/components/schemas/casOptions'
}
}
},
'casOptions' => {
'required' => ['service'],
'type' => 'object',
'properties' =>
getOptions( $attributes, 'casAppMetaDataOptions' ),
},
'NewSecondFactor' => {
'type' => 'object',
'required' => ['type'],
'properties' => {
'type' => {
'type' => 'string',
'description' =>
'The type of second factor to create',
'example' => 'TOTP, UBK (Yubikey), WebAuthn'
},
'name' => {
'type' => 'string',
'description' => 'A description of the device'
},
},
'additionalProperties' => {
'type' => 'string'
}
},
'NewSecondFactorTotp' => {
'type' => 'object',
'required' => ['key'],
'properties' => {
'key' => {
'type' => 'string',
'description' => 'The BASE32 encoded shared secret',
},
'name' => {
'type' => 'string',
'description' => 'A description of the device'
}
},
},
'SecondFactor' => {
'type' => 'object',
'required' => [ 'type', 'id' ],
'properties' => {
'id' => {
'type' => 'string',
( run in 1.107 second using v1.01-cache-2.11-cpan-39bf76dae61 )