lib/access/api.rb in access-2.1.5 vs lib/access/api.rb in access-2.2.0

- old
+ new

@@ -181,9 +181,21 @@ request.get("/auth", "mms", options) do |response| UserResponse.new(response) end end + def user_external_authentication(options = {}) + request.post("/external-auth", "mms", options) do |response| + UserResponse.new(response) + end + end + + def user_external_authentication_by_token(options = {}) + request.get("/external-auth", "mms", options) do |response| + UserResponse.new(response) + end + end + # Member def member_show(member_key, options = {}) request.get("/members/#{member_key}", 'mms', options) do |response| MemberResponse.new(response) end