mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 09:45:36 +03:00
19 lines
513 B
Go
19 lines
513 B
Go
|
package indieauth
|
||
|
|
||
|
import "net/url"
|
||
|
|
||
|
// Request represents a single in-flight IndieAuth request.
|
||
|
type Request struct {
|
||
|
UserID string
|
||
|
DisplayName string
|
||
|
CurrentAccessToken string
|
||
|
Endpoint *url.URL
|
||
|
Redirect *url.URL // Outbound redirect URL to continue auth flow
|
||
|
Callback *url.URL // Inbound URL to get auth flow results
|
||
|
ClientID string
|
||
|
CodeVerifier string
|
||
|
CodeChallenge string
|
||
|
State string
|
||
|
Me *url.URL
|
||
|
}
|