mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
chore(core): fix typos in comment (#5718)
This commit is contained in:
parent
43430afddb
commit
de47d6ab5e
3 changed files with 6 additions and 6 deletions
|
@ -169,8 +169,8 @@ export const createUserLibrary = (queries: Queries) => {
|
|||
};
|
||||
|
||||
/**
|
||||
* Find user scopes for a resource indicator, from roles and organization roles
|
||||
* set organizationId to narrow down the search to the specific organization, otherwise it will search all organizations
|
||||
* Find user scopes for a resource indicator, from roles and organization roles.
|
||||
* Set `organizationId` to narrow down the search to the specific organization, otherwise it will search all organizations.
|
||||
*/
|
||||
const findUserScopesForResourceIndicator = async (
|
||||
userId: string,
|
||||
|
|
|
@ -17,9 +17,9 @@ import type Libraries from '#src/tenants/Libraries.js';
|
|||
import type Queries from '#src/tenants/Queries.js';
|
||||
|
||||
/**
|
||||
* For organization API resource feature,
|
||||
* add extra token claim `organization_id` to the access token.
|
||||
* notice that this is avaiable only when `resource` and `organization_id` are both present.
|
||||
* For organization API resource feature, add extra token claim `organization_id` to the
|
||||
* access token.
|
||||
* Note that this is available only when `resource` and `organization_id` are both present.
|
||||
*/
|
||||
export const getExtraTokenClaimsForOrganizationApiResource = async (
|
||||
ctx: KoaContextWithOIDC,
|
||||
|
|
|
@ -202,7 +202,7 @@ export class RoleUserRelationQueries extends RelationQueries<
|
|||
|
||||
/**
|
||||
* Get the available resource scopes of a user in all organizations.
|
||||
* if organizationId is provided, it will only search in that organization
|
||||
* If `organizationId` is provided, it will only search in that organization.
|
||||
*/
|
||||
async getUserResourceScopes(
|
||||
userId: string,
|
||||
|
|
Loading…
Add table
Reference in a new issue