21 lines
298 B
Go
21 lines
298 B
Go
package domain
|
|
|
|
type AuthenticateRequest struct {
|
|
Token string
|
|
}
|
|
|
|
type AuthenticateResponse struct {
|
|
Authenticated bool
|
|
ErrorReason string
|
|
AuthData *AuthData
|
|
}
|
|
|
|
type AuthorizeRequest struct {
|
|
ApplicationId int
|
|
Endpoint string
|
|
}
|
|
|
|
type AuthorizeResponse struct {
|
|
Authorized bool
|
|
}
|