WebSessionRoutes
public class WebSessionRoutes
Schibsted account web page URLs useful for web views in hybrid apps.
-
Schibsted account
logout
action URLUse this URL for a web view that has a web session (Schibsted account cookie). Navigation such a web view will logout the web user inside.
Declaration
Swift
public var logoutURL: URL { get }
-
Allows to customize redirectPath
Declaration
Swift
public func logoutURL(withRedirectPath path: String? = nil) -> URL
-
Schibsted account
forgot password
web page URLNavigate a web view with this URL to show a password reminder form.
Declaration
Swift
public var forgotPasswordURL: URL { get }
-
Same as
forgotPasswordURL
but customizableDeclaration
Swift
public func forgotPasswordURL(withRedirectPath path: String? = nil, redirectQueryItems: [URLQueryItem]? = nil) -> URL
Parameters
withRedirectPath
the redirect path that will be injected in the URL
redirectQueryItems
any query items you want the redirect url to contain
-
Schibsted account
account summary
web page URLNavigate a web view with this URL to go to user accounts page
Declaration
Swift
public var accountSummaryURL: URL { get }
-
Same as
accountSummaryURL
but customizableDeclaration
Swift
public func accountSummaryURL(withRedirectPath path: String? = nil, redirectQueryItems: [URLQueryItem]? = nil) -> URL
Parameters
withRedirectPath
the redirect path that will be injected in the URL
redirectQueryItems
any query items you want the redirect url to contain