Skip to content

Commit 78e9297

Browse files
Renamed PublicKeyCredentialRpEntity to PublicKeyCredentialRelyingPartyEntity
1 parent 0419303 commit 78e9297

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/WebAuthn/Ceremonies/Registration/PublicKeyCredentialCreationOptions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public struct PublicKeyCredentialCreationOptions: Encodable {
3232
public let user: PublicKeyCredentialUserEntity
3333

3434
/// Contains a name and an identifier for the Relying Party responsible for the request
35-
public let relyingParty: PublicKeyCredentialRpEntity
35+
public let relyingParty: PublicKeyCredentialRelyingPartyEntity
3636

3737
/// A list of key types and signature algorithms the Relying Party supports. Ordered from most preferred to least
3838
/// preferred.
@@ -102,9 +102,9 @@ extension Array where Element == PublicKeyCredentialParameters {
102102
// MARK: - Credential entities
103103

104104
/// From §5.4.2 (https://www.w3.org/TR/webauthn/#sctn-rp-credential-params).
105-
/// The PublicKeyCredentialRpEntity dictionary is used to supply additional Relying Party attributes when
105+
/// The PublicKeyCredentialRelyingPartyEntity dictionary is used to supply additional Relying Party attributes when
106106
/// creating a new credential.
107-
public struct PublicKeyCredentialRpEntity: Encodable {
107+
public struct PublicKeyCredentialRelyingPartyEntity: Encodable {
108108
/// A unique identifier for the Relying Party entity.
109109
public let id: String
110110

0 commit comments

Comments
 (0)