Documentation ¶
Index ¶
- Constants
- type Device
- func (g *Device) CompleteFlow(ctx context.Context, identifier string, sessionID string, ...) error
- func (g *Device) FlowExists(ctx context.Context, identifier string) (bool, error)
- func (g *Device) Key() flow.Key
- func (g *Device) PollFlow(ctx context.Context, userCode string) (string, time.Time, time.Time, error)
- func (g *Device) Start() error
- func (g *Device) StartFlow(ctx context.Context) (string, string, error)
- func (g *Device) Stop() error
- func (g *Device) ValidateFlow(ctx context.Context, deviceCode string) (string, error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) CompleteFlow ¶
func (*Device) FlowExists ¶
Click to show internal directories.
Click to hide internal directories.