title: aws-amplify authentication login timeout using AUTH angular
body: <p>When using Aws-amplify how do i set the user login time out, 
  Do i have to create a timeout mechanism with this -> i.e. a custom timeout then just log the user out. 
  <a href="https://docs.angularjs.org/api/ng/service/" rel="nofollow noreferrer">https://docs.angularjs.org/api/ng/service/</a>$timeout</p>
  
  <p>Is this not a feature not sure if this applies. 
  <a href="https://github.com/aws-amplify/amplify-js/issues/368" rel="nofollow noreferrer">https://github.com/aws-amplify/amplify-js/issues/368</a></p>
  
  <p>I see the analytics has a session manager with a timeout that is fixed. 
  <a href="https://github.com/mbahar/aws-amplify/blob/986a9ec4/packages/aws-amplify/src/Analytics/SessionManage.ts#L19" rel="nofollow noreferrer">https://github.com/mbahar/aws-amplify/blob/986a9ec4/packages/aws-amplify/src/Analytics/SessionManage.ts#L19</a></p>
  
  <p>In Auth.ts there is a <strong>user, expires_at</strong></p>
  
  <p>Credentials.set({ provider, token, identity_id, user, expires_at }</p>
  
  <p>Is there a way to set the time out globally, for an object or specific component requiring the user to verify login information after a timeout?</p>
  
  <p>Is there a design paradigm I am missing? </p>
  
  <p>The application is being developed in Angular. </p>
  
  <p>I have worked with this repository seems to be a clean example of an angular implementation </p>
  
  <p><a href="https://github.com/daikiojm/angular-aws-amplify.git" rel="nofollow noreferrer">https://github.com/daikiojm/angular-aws-amplify.git</a></p>