-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sdks 3608 add missing docs #18
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found only one typo to be fixed... everything else looks very good! 👍🏻
Oidc/Oidc/OpenIdConfiguration.swift
Outdated
@@ -11,12 +11,17 @@ | |||
|
|||
import Foundation | |||
|
|||
/// Struct epresenting the OpenID Connect configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in "epresenting"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -19,7 +19,7 @@ public protocol Encryptor { | |||
/// - Throws: An error if encryption fails. | |||
func encrypt(data: Data) async throws -> Data | |||
|
|||
// Decrypts the given data. | |||
/// Decrypts the given data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the decrypt
function be defined as public
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spetrov in protocol definitions we cannot specify access modifiers
(XCODE: Protocol requirements implicitly have the same access as the protocol itself)
@@ -19,7 +19,7 @@ public protocol Encryptor { | |||
/// - Throws: An error if encryption fails. | |||
func encrypt(data: Data) async throws -> Data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the encrypt
function be defined as public
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
SDKS-3608 [iOS][Ping SDK] Missing docs for public interfaces
Also updated the podspecs and file copyrights