Documentation ¶
Index ¶
- Constants
- type User
- func (u *User) CreateUser(ctx context.Context, req *apiv1.CreateUserRequest) (*apiv1.User, error)
- func (u *User) DeleteUser(ctx context.Context, req *apiv1.UsernameRequest) (*emptypb.Empty, error)
- func (u *User) GetUser(ctx context.Context, req *apiv1.UsernameRequest) (*apiv1.User, error)
- func (u *User) ListUsers(ctx context.Context, req *apiv1.QueryParameter) (*apiv1.Users, error)
- func (u *User) LoginUser(ctx context.Context, req *apiv1.LoginUserRequest) (*apiv1.LoginUserResponse, error)
- func (u *User) UpdateUserCredentials(ctx context.Context, req *apiv1.UpdateCredentialsRequest) (*apiv1.User, error)
- func (u *User) UpdateUserPermissions(ctx context.Context, req *apiv1.UpdatePermissionsRequest) (*apiv1.User, error)
Constants ¶
View Source
const (
MIN_ENTROPY_BITS = 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { apiv1.AccountServer // contains filtered or unexported fields }
func (*User) CreateUser ¶
func (*User) DeleteUser ¶
func (*User) LoginUser ¶
func (u *User) LoginUser(ctx context.Context, req *apiv1.LoginUserRequest) (*apiv1.LoginUserResponse, error)
func (*User) UpdateUserCredentials ¶
func (*User) UpdateUserPermissions ¶
Click to show internal directories.
Click to hide internal directories.