Skip to content

Commit

Permalink
idToken exposed to Client for resolving User identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Raheel Sayeed committed Feb 22, 2018
1 parent e251904 commit f52c2fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Client/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ open class Server: FHIROpenServer, OAuth2RequestPerformer {
}
}

/// Authenticated identity and profile token of end user; Assigned when scopes `openid` and `profile` are used.
public var idToken: String? {
get { return auth?.oauth?.idToken }
}

var mustAbortAuthorization = false

/// An optional NSURLSessionDelegate.
Expand Down

0 comments on commit f52c2fb

Please sign in to comment.