Skip to content

feat(types): add userByName method to tailor.idp.Client#150

Merged
k1LoW merged 1 commit intomainfrom
add-idp-user-by-name-type
Mar 17, 2026
Merged

feat(types): add userByName method to tailor.idp.Client#150
k1LoW merged 1 commit intomainfrom
add-idp-user-by-name-type

Conversation

@k1LoW
Copy link
Contributor

@k1LoW k1LoW commented Mar 17, 2026

Summary

Add userByName(name: string): Promise<User> method to tailor.idp.Client type definitions, enabling user lookup by name.

Added Client method

  • userByName(name) - Get a user by name

Usage

const client = new tailor.idp.Client({ namespace: 'my-namespace' });

// Existing: get user by ID
const user = await client.user('user-uuid');

// New: get user by name
const user = await client.userByName('foo@example.com');

@k1LoW k1LoW requested a review from a team as a code owner March 17, 2026 06:08
@k1LoW k1LoW self-assigned this Mar 17, 2026
@k1LoW k1LoW added the enhancement New feature or request label Mar 17, 2026
Copy link
Contributor

@toiroakr toiroakr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@k1LoW k1LoW merged commit 02134c6 into main Mar 17, 2026
6 checks passed
@k1LoW k1LoW deleted the add-idp-user-by-name-type branch March 17, 2026 06:34
@github-actions github-actions bot mentioned this pull request Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants