# OneLogin_Saml_AuthRequest

### Methods

## Constructs the OneLogin_Saml2_Auth, initializing the SP SAML instance.

    __construct(\OneLogin_Saml2_Settings $settings)

### Arguments

#### $settings

`\OneLogin_Saml2_Settings`

Settings

## Obtains the SSO URL containing the AuthRequest message deflated.

    getRedirectUrl($returnTo = null)

### Arguments

#### $returnTo

``

## _generateUniqueID

    _generateUniqueID()

## _getTimestamp

    _getTimestamp()

### Properties

## object

    auth : \OneLogin_Saml2_Auth

var | object

### Type(s)

`\OneLogin_Saml2_Auth`