API Docs for: 0.25.0
Show:

auth Class

Module: utils
Parent Module: ember-osf

Methods

getAuthUrl

() String public

Return the appropriate auth URL for the specified authorization mechanism (as specified in application configuration) Currently supports token and cookie based authorization

Returns:

getCookieAuthUrl

(
  • nextUri
)
String private

Retrieve the correct URL for cookie-based in the OSF, including any additional configurable parameters

Parameters:

  • nextUri String

    Where to send the browser after a successful login request

Returns:

getOAuthUrl

(
  • nextUri
)
String private

Retrieve the correct URL for OAuth 2.0 authentication in the OSF, including any additional configurable parameters

Parameters:

  • nextUri String

    Where to send the browser after a successful login request

Returns: