mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 14:57:05 +00:00
Add OAuth2 integration example, have fun! https://github.com/iris-contrib/community-board/issues/4
Former-commit-id: e4f9dfbdfe16c9ca1ad84ac5a844a5d060fb3b5e
This commit is contained in:
11
_examples/intermediate/oauth2/templates/user.html
Normal file
11
_examples/intermediate/oauth2/templates/user.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<p><a href="/logout/{{.Provider}}">logout</a></p>
|
||||
<p>Name: {{.Name}} [{{.LastName}}, {{.FirstName}}]</p>
|
||||
<p>Email: {{.Email}}</p>
|
||||
<p>NickName: {{.NickName}}</p>
|
||||
<p>Location: {{.Location}}</p>
|
||||
<p>AvatarURL: {{.AvatarURL}} <img src="{{.AvatarURL}}"></p>
|
||||
<p>Description: {{.Description}}</p>
|
||||
<p>UserID: {{.UserID}}</p>
|
||||
<p>AccessToken: {{.AccessToken}}</p>
|
||||
<p>ExpiresAt: {{.ExpiresAt}}</p>
|
||||
<p>RefreshToken: {{.RefreshToken}}</p>
|
||||
Reference in New Issue
Block a user