Documentation ¶
Index ¶
Constants ¶
View Source
const (
WebAppClientID = "web"
)
Variables ¶
View Source
var ClientIDRegexp = regexp.MustCompile("^[0-9a-zA-Z-]+$")
View Source
var ErrClientIDTaken = errors.New("clientID already exists")
View Source
var ExampleAliceClient = Client{ // contains filtered or unexported fields }
View Source
var ExampleBobClient = Client{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client client model
func (*Client) RedirectURI ¶
func (*Client) SkipValidation ¶
type CreateCmd ¶
type FakeClientBuilder ¶
type FakeClientBuilder struct {
// contains filtered or unexported fields
}
func NewFakeClient ¶
func NewFakeClient(t testing.TB) *FakeClientBuilder
func (*FakeClientBuilder) Build ¶
func (f *FakeClientBuilder) Build() *Client
func (*FakeClientBuilder) BuildAndStore ¶
func (*FakeClientBuilder) CreatedBy ¶
func (f *FakeClientBuilder) CreatedBy(user *users.User) *FakeClientBuilder
func (*FakeClientBuilder) SkipValidation ¶
func (f *FakeClientBuilder) SkipValidation() *FakeClientBuilder
type MockService ¶
MockService is an autogenerated mock type for the Service type
func NewMockService ¶
func NewMockService(t interface { mock.TestingT Cleanup(func()) }) *MockService
NewMockService creates a new instance of MockService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.