import { OAuthClient } from "../entities/client.entity" ; import { GrantIdentifier } from "../grants/abstract/grant.interface" ; export interface OAuthClientRepository { getByIdentifier ( clientId ) : Promise < OAuthClient > ; isClientValid ( grantType , client , clientSecret ? ) : Promise < boolean > ; }