Skip to content

Commit 054ab16

Browse files
committed
[Auth] Update RevokeTokenRequest to have only immutable properties
1 parent 70901ae commit 054ab16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseAuth/Sources/Swift/Backend/RPC/RevokeTokenRequest.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ class RevokeTokenRequest: IdentityToolkitRequest, AuthRPCRequest {
3737
typealias Response = RevokeTokenResponse
3838

3939
/// The provider that issued the token to revoke.
40-
private(set) var providerID: String
40+
private let providerID: String
4141

4242
/// The type of the token to revoke.
43-
private(set) var tokenType: TokenType
43+
private let tokenType: TokenType
4444

4545
/// The token to be revoked.
46-
private(set) var token: String
46+
private let token: String
4747

4848
/// The ID Token associated with this credential.
49-
private(set) var idToken: String
49+
private let idToken: String
5050

5151
enum TokenType: Int {
5252
case unspecified = 0, refreshToken = 1, accessToken = 2, authorizationCode = 3

0 commit comments

Comments
 (0)