Skip to content

Commit

Permalink
- AccessTokenRefreshRequest - added public initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
KoCMoHaBTa committed Feb 9, 2020
1 parent 3b554b4 commit af64664
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MHIdentityKit/OAuth2/AccessTokenRefreshRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ public struct AccessTokenRefreshRequest {
public let refreshToken: String
public let scope: Scope?

public init(refreshToken: String, scope: Scope?) {

self.refreshToken = refreshToken
self.scope = scope
}

public var dictionary: [String: Any] {

var dictionary = [String: Any]()
Expand Down

0 comments on commit af64664

Please sign in to comment.