A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
25개 이상의 토픽을 선택하실 수 없습니다. 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. }