sessions added, refresh token moved to cookie
This commit is contained in:
parent
9eba8b4555
commit
4a5d488ec5
4 changed files with 35 additions and 20 deletions
|
|
@ -1,6 +1,8 @@
|
|||
package shared
|
||||
|
||||
import "net/http"
|
||||
|
||||
type AuthData struct {
|
||||
AccessToken string `json:"access_token"`
|
||||
RefreshToken string `json:"refresh_token"`
|
||||
AccessToken string
|
||||
RefreshCookie *http.Cookie
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue