diff options
| author | iven <99438726+ivenos@users.noreply.github.com> | 2026-10-07 18:47:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-07 18:47:59 +0200 |
| commit | bda7ffaae83ab4942f5dcb2aab628d91180f375f (patch) | |
| tree | 754543f122a471e4efa831458f9bf53a27dc5b42 /MediaBrowser.Controller | |
| parent | dbd42958531101aac4afaa03d456fc373f048b86 (diff) | |
Return the created API key from POST /Auth/Keys (#17155)
* Return the created API key from POST /Auth/Keys
* Keep the other API key fields in the DTO
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Security/IAuthenticationManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Security/IAuthenticationManager.cs b/MediaBrowser.Controller/Security/IAuthenticationManager.cs index 79b2a2444e..aebb229e79 100644 --- a/MediaBrowser.Controller/Security/IAuthenticationManager.cs +++ b/MediaBrowser.Controller/Security/IAuthenticationManager.cs @@ -12,8 +12,8 @@ namespace MediaBrowser.Controller.Security /// Creates an API key. /// </summary> /// <param name="name">The name of the key.</param> - /// <returns>A task representing the creation of the key.</returns> - Task CreateApiKey(string name); + /// <returns>A task representing the creation of the key, containing the created key.</returns> + Task<AuthenticationInfo> CreateApiKey(string name); /// <summary> /// Gets the API keys. |
