Sources/Client/AuthClient.swift
Function connect
has 6 arguments (exceeds 4 allowed). Consider refactoring. Invalid
Invalid
public func connect(identity: VerifiedIdentityToken,
withPublicKey publicKey: UserPublicKey,
andNonce nonce: NonceValue,
forClient client: ConnectApp,
apiKey: APIKey? = nil,
Function connect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Invalid
Invalid
public func connect(identity: VerifiedIdentityToken,
withPublicKey publicKey: UserPublicKey,
andNonce nonce: NonceValue,
forClient client: ConnectApp,
apiKey: APIKey? = nil) throws -> IdentityConnect.Response {
Multiline comment should end with whitespace Open
Open
**/
- Read upRead up
- Exclude checks
comment-whitespace
Prefer at least one whitespace character after a comment opening symbol (//
, ///
, /*
, or /**
) and at least one whitespace character before a comment closing symbol (*/
).
Preferred
// This is a comment
/// This is a documentation comment
/* This is a
multi-line comment */
/* This is a
multi-line comment
*/
/** This is a
documentation multi-line
comment
*/
Not Preferred
//This is a comment
///This is a documentation comment
/*This is a
multi-line comment*/
/**This is a multi-line
documentation comment */