Servicio

<back to all web services

Auth

The following routes are available for this service:
All Verbs/auth
All Verbs/auth/{provider}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/Auth HTTP/1.1 
Host: token.sar.gob.hn 
Content-Type: text/csv
Content-Length: length

provider,State,oauth_token,oauth_verifier,UserName,Password,RememberMe,Continue,nonce,uri,response,qop,nc,cnonce
String,String,String,String,String,String,False,String,String,String,String,String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

SessionId,UserName,ReferrerUrl,ResponseStatus
String,String,String,"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}"