Skip to content

Function parameters in methods #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: feature/credential-issuer-functions
Choose a base branch
from

Conversation

nodh
Copy link
Contributor

@nodh nodh commented Jun 27, 2025

Moves parameters from the constructor of CredentialIssuer into the method we're they're actually used. Should allow for a more straight-forward integration into an issuing service.

@nodh nodh self-assigned this Jun 27, 2025
Comment on lines 396 to 409
private class BackupCredentialIssuerDataProvider() : CredentialIssuerDataProvider {
override fun getCredential(
userInfo: OidcUserInfoExtended,
subjectPublicKey: CryptoPublicKey,
credentialScheme: CredentialScheme,
representation: ConstantIndex.CredentialRepresentation,
claimNames: Collection<String>?,
): KmmResult<CredentialToBeIssued> = catching {
TODO()
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems… off

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Explained the reasoning why this doesn't matter

@nodh nodh force-pushed the feature/function-parameters-in-methods branch from 7fcc2ba to d0b0f97 Compare June 30, 2025 12:46
@nodh nodh requested a review from JesusMcCloud June 30, 2025 12:46
@nodh nodh force-pushed the feature/credential-issuer-functions branch from bef46b0 to 4be5967 Compare June 30, 2025 12:49
@nodh nodh force-pushed the feature/function-parameters-in-methods branch from d0b0f97 to fc8c9e1 Compare June 30, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants