action phantauth_post_client { label: "Create a Client Selfie" description: "To create a selfie token from the client data, you need an opaqe string token, which contains the encoded client properties sent in the request.\nLater, the selfie token can be used as a client ID. In this case, the client data is included in the selfie token, that is, the client properties are taken from the token.\nBy the use of a selfie token, you can use your own client objects in the authentication process." provider: phantauth method: POST path: "/client" encoding: json input: { type: "object" required: ["client_id"] properties: { "@id": { type: "string" description: "URL of the Client's JSON representation." } client_id: { type: "string" description: "OAuth 2.0 client identifier string." } client_name: { type: "string" description: "Human-readable string name of the client to be presented to the end-user during authorization." } client_secret: { type: "string" description: "OAuth 2.0 client secret string. " } client_uri: { type: "string" description: "URL string of a web page providing information about the client." } contacts: { type: "array" description: "Array of strings representing ways to contact people responsible for this client, typically email addresses." items: { type: "object" } } grant_types: { type: "array" description: "Array of OAuth 2.0 grant type strings that the client can use at the token endpoint." items: { type: "object" } } jwks: { type: "array" description: "Client's JSON Web Key Set [RFC7517] document value, which contains the client's public keys. The value of this field MUST be a JSON object containing a valid JWK Set." items: { type: "object" } } jwks_uri: { type: "string" description: "URL string referencing the client's JSON Web Key (JWK) Set [RFC7517] document, which contains the client's public keys." } logo_email: { type: "string" description: "An email address used to generate a gravatar.com logo_uri." } logo_uri: { type: "string" description: "URL string that references a logo for the client." } policy_uri: { type: "string" description: "URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data." } redirect_uris: { type: "array" description: "Array of redirection URI strings for use in redirect-based flows such as the authorization code and implicit flows." items: { type: "object" } } response_types: { type: "array" description: "Array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint." items: { type: "object" } } scope: { type: "string" description: "String containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens." } software_id: { type: "string" description: "A unique identifier string (e.g., a Universally Unique Identifier (UUID)) assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered." } software_version: { type: "string" description: "A version identifier string for the client software identified by software_id." } token_endpoint_auth_method: { type: "string" description: "String indicator of the requested authentication method for the token endpoint." } tos_uri: { type: "string" description: "URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client." } } } output: { type: "object" additionalProperties: true } }