|
| 1 | +<html> |
| 2 | +<head> |
| 3 | + <title>MyCloud API Documentation</title> |
| 4 | + <link rel="icon" type="image/png" sizes="96x96" href="../img/favicon-96x96.png"> |
| 5 | + <link rel="icon" type="image/png" sizes="72x72" href="../img/favicon-72x72.png"> |
| 6 | + <link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png"> |
| 7 | + <link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png"> |
| 8 | + <link href="../css/mycloud.css" rel="stylesheet"> |
| 9 | + <link href="https://fonts.googleapis.com/css?family=Montserrat:300,300i|Roboto+Condensed:400,700" rel="stylesheet"> |
| 10 | + <script src="https://use.fontawesome.com/e353b17481.js"></script> |
| 11 | +</head> |
| 12 | +<body class="mycloud-github api-docs"> |
| 13 | + |
| 14 | + <div class="page-heading"> |
| 15 | + <div class="heading"> |
| 16 | + <a href="index.html"><img src="../img/logo_white.png" alt="MyCloud Logo"></a> |
| 17 | + <h1>MyCloud API PHP SDK</h1> |
| 18 | + <div class="buttons"> |
| 19 | + <a href="https://github.com/devmycloud/MyCloudAPI-SDK-PHP"><span class="fa fa-github"></span> GutHub</a> |
| 20 | + <a href="../index.html">Home</a> |
| 21 | + <a href="../readme.html">README</a> |
| 22 | + <a href="../downloads/mycloud-api-sdk-php-0.7.1.zip">Binary Distribution</a> |
| 23 | + </div> |
| 24 | + </div> |
| 25 | + </div> |
| 26 | + |
| 27 | + <div class="page-content"> |
| 28 | + <div class="bread-crumb"> |
| 29 | + <a href="../index.html">Home</a |
| 30 | + > > <a href="index.html">API Documentation</a |
| 31 | + > > Authentication |
| 32 | + </div> |
| 33 | + |
| 34 | + <h1>Authentication</h1> |
| 35 | + <p> |
| 36 | + The MyCloud API uses |
| 37 | + <a href="https://jwt.io/">JSON Web Tokens (JWT)</a> |
| 38 | + for authetication. This stateless authentication protocol |
| 39 | + is becoming a popular standard for API's for many good |
| 40 | + technical reasons. Here at MyCloud, we chose JWT because |
| 41 | + it is simple to implement, requires very little overhead, |
| 42 | + has many libraries available in almost every popular |
| 43 | + programming language, and eliminates the need for state |
| 44 | + (such as sessions and cookies), which means that it can |
| 45 | + scale better. |
| 46 | + </p> |
| 47 | + <p> |
| 48 | + If you are using the PHP SDK, you do not need to worry |
| 49 | + about JWT. All of the authentication is handled for you |
| 50 | + by the SDK. All you need to do is configure your API |
| 51 | + keys, and you are all set to beging using the API. |
| 52 | + </p> |
| 53 | + </div> |
| 54 | +</body> |
| 55 | +</html> |
0 commit comments