Skip to content
rw3iss Auth

CreateM2MClientResponse

CreateM2MClientResponse

Defined in: @rw3iss/auth-shared/src/dto/m2m.ts

Response of POST /admin/m2m-clients. client_secret is the plaintext secret, returned ONLY here — the server stores a bcrypt hash and can never re-show it. Lost secret ⇒ rotate (create a replacement client, revoke the old one).

Properties

client

client: M2MClientRecord

Defined in: @rw3iss/auth-shared/src/dto/m2m.ts


client_secret

client_secret: string

Defined in: @rw3iss/auth-shared/src/dto/m2m.ts