A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
240 B

  1. package oauth
  2. import "context"
  3. // ClientStateStore provides state management used by the OAuth client.
  4. type ClientStateStore interface {
  5. Generate(ctx context.Context) (string, error)
  6. Validate(ctx context.Context, state string) error
  7. }