Basic access authentication: Difference between revisions

Content deleted Content added
Protocol: improved style
Tags: Mobile edit Mobile app edit Android app edit App section source
 
(5 intermediate revisions by 4 users not shown)
Line 39:
<code>
WWW-Authenticate: Basic realm="User Visible Realm", charset="UTF-8"
</code>
 
<code>
'Basic ' + base64.b64encode(f"{<clientid>}:{<client secret key>}".encode()).decode()
</code>
 
Line 62 ⟶ 58:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
</code>
 
<syntaxhighlight lang="python">
'Basic ' + base64.b64encode(f"{<clientid>}:{<client secret key>}".encode()).decode()
</syntaxhighlight>
 
== See also ==