request.go 513 B

123456789101112131415161718
  1. package indieauth
  2. import "net/url"
  3. // Request represents a single in-flight IndieAuth request.
  4. type Request struct {
  5. UserID string
  6. DisplayName string
  7. CurrentAccessToken string
  8. Endpoint *url.URL
  9. Redirect *url.URL // Outbound redirect URL to continue auth flow
  10. Callback *url.URL // Inbound URL to get auth flow results
  11. ClientID string
  12. CodeVerifier string
  13. CodeChallenge string
  14. State string
  15. Me *url.URL
  16. }