From 553aedf0317641761517d711066fa21488297a00 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Fri, 5 May 2017 19:54:52 +0100 Subject: [PATCH] name the authenticator --- api/authenticator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/api/authenticator.rb b/api/authenticator.rb index 7429b00..5625955 100644 --- a/api/authenticator.rb +++ b/api/authenticator.rb @@ -1,4 +1,5 @@ authenticator :server do + friendly_name "Server Authenticator" header "X-Server-API-Key", "The API token for a server that you wish to authenticate with.", :example => 'f29a45f0d4e1744ebaee' error 'InvalidServerAPIKey', "The API token provided in X-Server-API-Key was not valid.", :attributes => {:token => "The token that was looked up"} error 'ServerSuspended', "The mail server has been suspended"