Documentation ¶
Index ¶
- func NewLib() interfaces.Auth
- type Modules
- func (c *Modules) AddAuthCode(enabletracing bool, ctx context.Context, req *auth.AuthCodeList) (code string, err error)
- func (c *Modules) AddGroupApplications(enabletracing bool, ctx context.Context, ...) (err error)
- func (c *Modules) AddGroupScopes(enabletracing bool, ctx context.Context, req *auth.UsersGroupScopesListRequest) (err error)
- func (c *Modules) AddUserApplication(enabletracing bool, ctx context.Context, req *auth.AddUsersApplicationRequest) (err error)
- func (c *Modules) AddUsersListGroups(enabletracing bool, ctx context.Context, req *auth.AddUsersListGroupsRequest) (err error)
- func (c *Modules) BasicTokenValidate(tok string) (err error)
- func (c *Modules) DelGroupApplications(enabletracing bool, ctx context.Context, ...) (err error)
- func (c *Modules) DelGroupScopes(enabletracing bool, ctx context.Context, req *auth.UsersGroupScopesListRequest) (err error)
- func (c *Modules) DelUsersListGroups(enabletracing bool, ctx context.Context, req *auth.DelUsersListGroupsRequest) (err error)
- func (c *Modules) DeleteApplication(enabletracing bool, ctx context.Context, req *auth.DeleteApplicationRequest) (res *emptypb.Empty, err error)
- func (c *Modules) DeleteScope(enabletracing bool, ctx context.Context, req *auth.DeleteScopesRequest) (err error)
- func (c *Modules) DeleteUser(enabletracing bool, ctx context.Context, requser *auth.UsersList, ...) (err error)
- func (c *Modules) DeleteUserGroup(enabletracing bool, ctx context.Context, req *auth.DeleteUserGroupRequest) (err error)
- func (c *Modules) EditScope(enabletracing bool, ctx context.Context, req *auth.ScopeList) (err error)
- func (c *Modules) FindApplicationGroup(enabletracing bool, ctx context.Context, req *auth.ApplicationInList) (res *auth.ApplicationInList, err error)
- func (c *Modules) FindGroupScopes(enabletracing bool, ctx context.Context, req *auth.GroupScopeInList) (res *auth.GroupScopeInList, err error)
- func (c *Modules) FindUsersGroup(enabletracing bool, ctx context.Context, req *auth.UsersGroupInList) (res *auth.UsersGroupInList, err error)
- func (c *Modules) GetApplication(enabletracing bool, ctx context.Context, req *auth.GetApplicationRequest) (res *auth.GetApplicationResponse, err error)
- func (c *Modules) GetModels() interfaces.Models
- func (c *Modules) GetScopes(enabletracing bool, ctx context.Context, req *auth.GetScopesRequest) (res *auth.GetScopesResponse, err error)
- func (c *Modules) GetUsers(enabletracing bool, ctx context.Context, req *auth.GetUsersRequest) (res *auth.GetUsersResponse, err error)
- func (c *Modules) GetUsersGroup(enabletracing bool, ctx context.Context, req *auth.GetUsersGroupRequest) (res *auth.GetUsersGroupResponse, err error)
- func (c *Modules) GetUsersGroupApplications(enabletracing bool, ctx context.Context, ...) (res *auth.GetUsersGroupApplicationsResponse, err error)
- func (c *Modules) GetUsersGroupScopes(enabletracing bool, ctx context.Context, req *auth.GetUsersGroupScopesRequest) (res *auth.GetUsersGroupScopesResponse, err error)
- func (c *Modules) GetUsersListGroups(enabletracing bool, ctx context.Context, req *auth.GetUsersListGroupsRequest) (res *auth.GetUsersListGroupsResponse, err error)
- func (c *Modules) Init(option *interfaces.AuthOption) error
- func (c *Modules) InsertLogs(enabletracing bool, ctx context.Context, req *auth.LogsList) (err error)
- func (c *Modules) NewApplication(enabletracing bool, ctx context.Context, req *auth.NewApplicationRequest) (res *auth.ApplicationList, err error)
- func (c *Modules) NewScope(enabletracing bool, ctx context.Context, req *auth.ScopeList) (res *auth.ScopeList, err error)
- func (c *Modules) NewUser(enabletracing bool, ctx context.Context, req *auth.NewUserRequest) (res *auth.UsersList, err error)
- func (c *Modules) NewUserGroup(enabletracing bool, ctx context.Context, req *auth.UsersGroupList) (res *auth.UsersGroupList, err error)
- func (c *Modules) UseBasicToken(dir string) (err error)
- func (c *Modules) UseBasicTokenWithPreload(dir, token string) (err error)
- func (c *Modules) UseSQLJWT() (j interfaces.Services, err error)
- func (c *Modules) UserChangePassword(enabletracing bool, ctx context.Context, requser *auth.UsersList, ...) (res *auth.UsersList, err error)
- func (c *Modules) UserEdit(enabletracing bool, ctx context.Context, requser *auth.UsersList, ...) (res *auth.UsersList, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLib ¶
func NewLib() interfaces.Auth
Types ¶
type Modules ¶
type Modules struct { Option *interfaces.AuthOption // contains filtered or unexported fields }
func (*Modules) AddAuthCode ¶ added in v0.0.3
func (*Modules) AddGroupApplications ¶ added in v0.0.3
func (*Modules) AddGroupScopes ¶ added in v0.0.3
func (*Modules) AddUserApplication ¶ added in v0.0.3
func (*Modules) AddUsersListGroups ¶ added in v0.0.3
func (*Modules) BasicTokenValidate ¶
func (*Modules) DelGroupApplications ¶ added in v0.0.3
func (*Modules) DelGroupScopes ¶ added in v0.0.3
func (*Modules) DelUsersListGroups ¶ added in v0.0.3
func (*Modules) DeleteApplication ¶ added in v0.0.3
func (*Modules) DeleteScope ¶ added in v0.0.3
func (*Modules) DeleteUser ¶ added in v0.0.3
func (*Modules) DeleteUserGroup ¶ added in v0.0.3
func (*Modules) FindApplicationGroup ¶ added in v0.0.3
func (c *Modules) FindApplicationGroup(enabletracing bool, ctx context.Context, req *auth.ApplicationInList) (res *auth.ApplicationInList, err error)
func (*Modules) FindGroupScopes ¶ added in v0.0.3
func (c *Modules) FindGroupScopes(enabletracing bool, ctx context.Context, req *auth.GroupScopeInList) (res *auth.GroupScopeInList, err error)
func (*Modules) FindUsersGroup ¶ added in v0.0.3
func (c *Modules) FindUsersGroup(enabletracing bool, ctx context.Context, req *auth.UsersGroupInList) (res *auth.UsersGroupInList, err error)
func (*Modules) GetApplication ¶ added in v0.0.3
func (c *Modules) GetApplication(enabletracing bool, ctx context.Context, req *auth.GetApplicationRequest) (res *auth.GetApplicationResponse, err error)
func (*Modules) GetModels ¶ added in v0.0.3
func (c *Modules) GetModels() interfaces.Models
func (*Modules) GetScopes ¶ added in v0.0.3
func (c *Modules) GetScopes(enabletracing bool, ctx context.Context, req *auth.GetScopesRequest) (res *auth.GetScopesResponse, err error)
func (*Modules) GetUsers ¶ added in v0.0.3
func (c *Modules) GetUsers(enabletracing bool, ctx context.Context, req *auth.GetUsersRequest) (res *auth.GetUsersResponse, err error)
func (*Modules) GetUsersGroup ¶ added in v0.0.3
func (c *Modules) GetUsersGroup(enabletracing bool, ctx context.Context, req *auth.GetUsersGroupRequest) (res *auth.GetUsersGroupResponse, err error)
func (*Modules) GetUsersGroupApplications ¶ added in v0.0.3
func (c *Modules) GetUsersGroupApplications(enabletracing bool, ctx context.Context, req *auth.GetUsersGroupApplicationsRequest) (res *auth.GetUsersGroupApplicationsResponse, err error)
func (*Modules) GetUsersGroupScopes ¶ added in v0.0.3
func (c *Modules) GetUsersGroupScopes(enabletracing bool, ctx context.Context, req *auth.GetUsersGroupScopesRequest) (res *auth.GetUsersGroupScopesResponse, err error)
func (*Modules) GetUsersListGroups ¶ added in v0.0.3
func (c *Modules) GetUsersListGroups(enabletracing bool, ctx context.Context, req *auth.GetUsersListGroupsRequest) (res *auth.GetUsersListGroupsResponse, err error)
func (*Modules) Init ¶
func (c *Modules) Init(option *interfaces.AuthOption) error
func (*Modules) InsertLogs ¶ added in v0.0.3
func (*Modules) NewApplication ¶ added in v0.0.3
func (c *Modules) NewApplication(enabletracing bool, ctx context.Context, req *auth.NewApplicationRequest) (res *auth.ApplicationList, err error)
func (*Modules) NewUserGroup ¶ added in v0.0.3
func (c *Modules) NewUserGroup(enabletracing bool, ctx context.Context, req *auth.UsersGroupList) (res *auth.UsersGroupList, err error)
func (*Modules) UseBasicToken ¶
func (*Modules) UseBasicTokenWithPreload ¶ added in v0.0.4
func (*Modules) UseSQLJWT ¶ added in v0.0.3
func (c *Modules) UseSQLJWT() (j interfaces.Services, err error)
func (*Modules) UserChangePassword ¶ added in v0.0.3
Source Files ¶
Click to show internal directories.
Click to hide internal directories.