func (e *WasCreated) GetScopes() []string {
	return e.Scopes
}
GetScopes user id
package client
import (
	"fmt"
	"github.com/google/uuid"
)
var (
	WasCreatedType = (WasCreated{}).GetType()
	WasRemovedType = (WasRemoved{}).GetType()
)
type WasCreated struct {
	ID          uuid.UUID `json:"id" bson:"id"`
	UserID      uuid.UUID `json:"user_id" bson:"user_id"`
	Secret      uuid.UUID `json:"secret" bson:"secret"`
	Domain      string    `json:"domain" bson:"domain"`
	RedirectURL string    `json:"redirect_url" bson:"redirect_url"`
	Scopes      []string  `json:"scopes" bson:"scopes"`
}
func (e WasCreated) GetType() string {
	return fmt.Sprintf("%T", e)
}
func (e *WasCreated) GetID() string {
	return e.ID.String()
}
func (e *WasCreated) GetSecret() string {
	return e.Secret.String()
}
func (e *WasCreated) GetDomain() string {
	return e.Domain
}
func (e *WasCreated) GetUserID() string {
	return e.UserID.String()
}
func (e *WasCreated) GetRedirectURL() string {
	return e.RedirectURL
}