Skip to content

Commit

Permalink
refactor: remove unused record
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Oct 31, 2023
1 parent f53d19d commit 8b2e275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
15 changes: 0 additions & 15 deletions oid4vci/oid4vci/v1_0/models.py

This file was deleted.

20 changes: 2 additions & 18 deletions oid4vci/oid4vci/v1_0/oid4vci_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from aries_cloudagent.wallet.jwt import jwt_verify
from marshmallow import fields
from .cred_sup_record import OID4VCICredentialSupported

LOGGER = logging.getLogger(__name__)


Expand All @@ -49,33 +50,16 @@ class TokenRequestSchema(OpenAPISchema):
)


class CredentialOfferRecord(BaseExchangeRecord):

def __init__(
self,
credential_issuer,
credentials,
grants,
):
self.credential_issuer = credential_issuer
self.credentials = credentials
self.grants = grants


class GetTokenSchema(OpenAPISchema):
"""Schema for ..."""

grant_type = fields.Str(
required=True,
metadata= {"description": "", "example": ""}
)
grant_type = fields.Str(required=True, metadata={"description": "", "example": ""})

pre_authorized_code = fields.Str(
required=True, metadata={"description": "", "example": ""}
)



class AdminResetSchema(OpenAPISchema):
"""Schema for the reset endpoint."""

Expand Down

0 comments on commit 8b2e275

Please sign in to comment.